Say, in the phone number, people may input too many formats. such as 555-555-5555 or (555) 555 5555 etc.
What I want to do is that get rid off all the non numeric values and make all the phone number just like a string of numbers
so above two will be transferred to 5555555555. so i can search the phone number use 555555555, and find it whatever the user put in.
Could anyone give me a function to do that "get rid off all the non numeric values and make all the phone number just like a string of numbers"?
Thanks!