AG's Blog
Pages
Home
Wednesday, June 29, 2016
Removing unrecognized ASCII characters from string c#
var
stripped
=
Regex
.
Replace
(
"străipped of baâ€d charâ€cters"
,
"[^ -~]"
,
""
);
[ -~]
matches all printable ascii characters (light blue background)
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)