"while we're out here, rythm romancin' ..."

Thursday, June 09, 2005

Eliminating characters in a Search String using Regular Expression

return System.Text.RegularExpressions.Regex.Replace(Criteria,
@"[\*\<>!&\|\?=]", string.Empty);

0 Comments:

Post a Comment

<< Home