[^a-zA-Z0-9] says to escape these characters in the string without replacing.
RegexOptions.Compiled - You can tell it to compile when it runs first time and the subsequent calls will be faster.
edit | flag
Sam Bells Answered on: Feb 02, 2012 at 9:08PM
0
Use Regex.Replace
edit | flag
Ron McDonald Answered on: Jul 20, 2012 at 11:41PM
Post your Answer
Search
Welcome to Ask Amoeba! This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions. Learners, beginners, Experts stop and share your knowledge and ideas!