Link to home
Start Free TrialLog in
Avatar of hardypai
hardypai

asked on

phone number validation

hi
  I want to validate phone number and mobile number for UK (inlcuding std and country codes).But didn't get the format of the numbers. can anyone help?

regards
ASKER CERTIFIED SOLUTION
Avatar of ho_alan
ho_alan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NetGroove
NetGroove

it is easy to write a RegExp test if you provide the phone number format.
For example, do you want to allow spaces or dashes in number groups.
What are the minimum and maximum amount of digits in group and in whole?
The best would be to see some examples of phone numbers.

No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: ho_alan {http:#9737662}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jAy
EE Cleanup Volunteer