Formatting phone number
Posted: Sat Jul 18, 2009 4:20 pm
I'm trying to reformat phone numbers across multiple text files. The phone numbers are in the format: (###) ###-#### and I would like them in the format: ##########
I can isolate the phone number(s) with the following "find" string: \([0-9]?[0-9]?[0-9]\) [0-9]?[0-9]?[0-9]-[0-9]?[0-9]?[0-9]?[0-9]?[0-9]
Is there a way to "replace" just the numbers in the text file?
Thanks for your help,
Aaron
I can isolate the phone number(s) with the following "find" string: \([0-9]?[0-9]?[0-9]\) [0-9]?[0-9]?[0-9]-[0-9]?[0-9]?[0-9]?[0-9]?[0-9]
Is there a way to "replace" just the numbers in the text file?
Thanks for your help,
Aaron