How to remove all special characters from a string
27 Dec 2007protected string StripSpecChars(string txtIn) { string txtOut = Regex.Replace(txtIn, @"[^\w\.@-]", "").Trim(); return txtOut; }
protected string StripSpecChars(string txtIn) { string txtOut = Regex.Replace(txtIn, @"[^\w\.@-]", "").Trim(); return txtOut; }