Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Clean-Up

Status
Not open for further replies.

darall

Instructor
Aug 7, 2002
32
US
I have table that has messy phone number data, the structure of the numbers vary so I need to strip out all of the extra characters; spaces, periods, dashes, asterisks, commas, parentheses and slashes.

For example in one record the phone number is (###)###-####, in the next it is ###-###-#### or ###/###-####.

This is an import that we have to do frequently so right now I am just doing a find replace to remove these characters. But I would love to automate this.

Does anyone know of a way to automate stripping out these extra characters? [ponder]




 
Take a look at the Replace function (if ac 2k or above)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top