G
Glorfindel
If I have a string, say a phone number w/o any formatting in the form
"1234567890"
and want to apply a regular expression to format it, to get "(123) 456-7890"
will any of the .NET classes allow me to do it?
I checked Regex.Replace, but couldnt get it to work, and none of the String
functions do it that I know.
I'm using the string.format and doing it the hard way, but I'd like a
cleaner one.
Thanks,
Eric
"1234567890"
and want to apply a regular expression to format it, to get "(123) 456-7890"
will any of the .NET classes allow me to do it?
I checked Regex.Replace, but couldnt get it to work, and none of the String
functions do it that I know.
I'm using the string.format and doing it the hard way, but I'd like a
cleaner one.
Thanks,
Eric