Skip to content

About Regex.Replace();

Sheng H

Asked Jun 26, 2006, 10:37 AM EDT1 answer
Share
LinkedInX
     Hi! Does anyone understand what the following code does exactly?
     Regex.Replace(strInput, "[^\\w\\s]", "");
      
Thanks in advance!
   

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    It means find every word ending with whitespace and replace it with ""....

    0