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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

International phone number validation/formatting

Status
Not open for further replies.

DayLaborer

Programmer
Jan 3, 2006
347
US
Does anyone know of a good (for-free or for-fee) C# compatible code/plug-in that will validate and format international phone numbers from many different formats?

Thanks,
Eliezer
 
If you had a list of formats it would be easy to create a validator class using Regex.
 
This is a surprisingly difficult thing to do. I started on a library to do it, but never finished it.

Suggest you spend some time at the ITU website to see all the bizarre formats that people use around the world are.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Chip, I looked at the ITU website - but it's quite large. Could you please post a URL to the specific ITU page to which you refer?

Thanks!
Eliezer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top