Tuesday, August 18, 2009

Removing Unwanted Text from Tab-delimited Files using Regex

Use something like this:
Regex.Replace("Tab data here....", "\\t|\\r|\\n|\\v|\\f|\\e|\\x20|\\040\\cC\\u0020", "")

No comments: