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

here is powershell script on how to get list of files from changesets associated with one tfs task

$dllPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\...