Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

phone number validation

Posted on 2003-11-12
4
9,686 Views
Last Modified: 2012-05-04
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
0
Comment
Question by:hardypai
4 Comments
 
LVL 5

Accepted Solution

by:
ho_alan earned 200 total points
ID: 9737662
0
 
LVL 10

Expert Comment

by:NetGroove
ID: 9737827
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.

0
 
LVL 16

Expert Comment

by:jaysolomon
ID: 10353466
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
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
age from date of birth 4 51
How to combine and minify CSS and JS files 5 15
send email part1 9 22
Only allow one check box 17 21
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question