Revision: 19587
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 26, 2009 13:01 by arangil
Initial Code
string st = "45857875-08-545-K TESTDOCS INC 2008010320080103184514184516184516 0 "; st = Regex.Replace(st, @"[^\x20-\x7E]", "");
Initial URL
Initial Description
In case you find yourself parsing a string with unrecognizable ASCII character codes, use the regex below to replace them. The pattern matches only the valid keyboard symbols.
Initial Title
Parsing with regex
Initial Tags
regex
Initial Language
C#