Verifying all international phone numbers using JavaScript?

Discussion in 'JavaScript' started by cre8ive, Jan 29, 2008.

  1. #1
    There are a number of free JavaScript phone number verification scripts, but the last time I checked (which was a long time ago), each script only checked phone numbers in a certain format. For example, one script only checks US phone numbers and another only checks US phone numbers. Is there a JavaScript script that can verify all international phone numbers?
     
    cre8ive, Jan 29, 2008 IP
  2. Dolbz

    Dolbz Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think you should narrow it down from 'all'. There are probably hundreds of phone number formats internationally. Focus on specifics and you'll get more luck.
     
    Dolbz, Jan 29, 2008 IP
  3. Valve-Hosting

    Valve-Hosting Peon

    Messages:
    1,071
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I agree, I used to live i Bath btw.

    Anyway, you'd be better off using mySQL probably as the JS file would be huge too.
     
    Valve-Hosting, Feb 2, 2008 IP