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)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment