sourcefield
rt = Regex.Replace(rt,"[\x01-\x1F]", "");
also you can kick-off unnecessary chars from string by regexpDim s As String = Regex.Replace(sb.ToString, "[\xC2]", "")s = Regex.Replace(s, "[\xA0]", "")
Post a Comment
Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...
1 comment:
also you can kick-off unnecessary chars from string by regexp
Dim s As String = Regex.Replace(sb.ToString, "[\xC2]", "")
s = Regex.Replace(s, "[\xA0]", "")
Post a Comment