I\'m completely incapable of regular expressions, and so I need some help with a problem that I think would best be solved by using regular expressions.
I have list
tmp = Regex.Replace(n, @"\W+", "");
\w matches letters, digits, and underscores, \W is the negated version.
\w
\W