Friday

C#(csharp):remove (replace with whitespace) not allowed (non printable) characters from XML


rt = Regex.Replace(rt,"[\x01-\x1F]", "");


more...

1 comment:

Anonymous said...

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]", "")

make ubuntu business casual

to make ubuntu business casual - make it black remove background: gsettings set org.gnome.desktop.background picture-options ...