I have a .csv file, which includes one field($19) which is phone # data and inconsistent...
i.e.
5205551212 -or-
520-555-1212 -or-
(520)555-1212 -or-
(520) 555-1212
And I'd like all output to be like:
(520)555-1212
I assume I need to 1st gsub out the ( ) & - then reformat the result; but, I need some help accomplishing this, please.
TIA,
-Allen
i.e.
5205551212 -or-
520-555-1212 -or-
(520)555-1212 -or-
(520) 555-1212
And I'd like all output to be like:
(520)555-1212
I assume I need to 1st gsub out the ( ) & - then reformat the result; but, I need some help accomplishing this, please.
TIA,
-Allen