Google

Monday, February 13, 2012

.NET - Remove all characters from sting except letters and numbers and spaces

   result = Text.RegularExpressions.Regex.Replace(StringToBeModified, "[^0-9a-zA-Z ]", "")

No comments:

Post a Comment