SyntaxFix
Write A Post
Hire A Developer
Questions
tmp = Regex.Replace(n, @"\W+", "");
\w matches letters, digits, and underscores, \W is the negated version.
\w
\W