Regular Expression for UK Phone numbers?

Discussion in 'ASP .Net' started by Andy, May 13, 2008.

  1. Andy

    Andy Guest

    Hi.
    Has anyone a reliable regular expression for UK phone numbers?

    Done the usual google search and on regexlib but so far nothing seems close
    to actually working.

    Maybe of our stupid phone numbers were'nt so complicated.....

    Cheers
    Andy, May 13, 2008
    #1
    1. Advertising

  2. Andy

    Andy B Guest

    "John Timney (MVP)" wrote:

    > At least one of the patterns has a five rating on regexplib, which suggests
    > it should work.
    >
    > http://regexlib.com/UserPatterns.aspx?authorId=d95177b0-6014-4e73-a959-73f1663ae814
    >
    > Regards
    >
    > John Timney (MVP)
    > http://www.johntimney.com
    > http://www.johntimney.com/blog
    >
    >
    > "Andy" <> wrote in message
    > news:...
    > > Hi.
    > > Has anyone a reliable regular expression for UK phone numbers?
    > >
    > > Done the usual google search and on regexlib but so far nothing seems
    > > close
    > > to actually working.
    > >
    > > Maybe of our stupid phone numbers were'nt so complicated.....
    > >
    > > Cheers

    >
    >
    >


    Only the mobile one has 5 stars, the normal phone-numbers one doesn't seem
    to like London numbers (0208 etc). If anyone has any bright ideas let us
    know, otherwise, I'm off to try to teach myself regexes ...
    Andy B, Jun 17, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. joemono
    Replies:
    5
    Views:
    13,899
    Roy Johnson
    Oct 3, 2003
  2. VSK
    Replies:
    2
    Views:
    2,271
  3. Andrew Banks
    Replies:
    2
    Views:
    20,862
    Andrew Banks
    Jan 5, 2004
  4. Ori
    Replies:
    2
    Views:
    21,260
    Brian W
    Jan 26, 2004
  5. Rene Ivon Shamberger

    convert Phone Letters to Phone numbers

    Rene Ivon Shamberger, Dec 4, 2012, in forum: C++
    Replies:
    5
    Views:
    363
Loading...

Share This Page