Re: Regex for removing all special characters from a string?
Never mind... got it:
Regex.Replace(s trIn, @"[^\w\.@-]","");
"SStewart" <nfr@nospam.com > wrote in message
news:uxzVBAsAEH A.2348@TK2MSFTN GP09.phx.gbl...[color=blue]
> Does anyone know a good regex expression for removing all special[/color]
characters[color=blue]
> from a string, allowing only alphanumeric?
>
>[/color]
Comment