Title |
Test
Find
UK Phone with country code and area code
|
Expression |
\+44\s\(0\)\s\d{2}\s\d{4}\s\d{4} |
Description |
Simple expression to validate a UK phone number including country code and area code. Requires spacing. |
Matches |
+44 (0) 55 4444 3333 |
Non-Matches |
+44 (0) 5555555555 | 55 4444 3333 |
Author |
Rating:
Not yet rated.
Suriya Supatanasakul
|
Source |
|
Your Rating |
|
Title: Regular expression
Name: gopal
Date: 3/13/2013 12:20:22 PM
Comment:
Hello all,
I nee the regular expression for UK Mobile number like--
+44(0)7989 393699
So please help me...
Title: Regular expression
Name: gopal
Date: 3/13/2013 12:20:07 PM
Comment:
Hello all,
I nee the regular expression for UK Mobile number like--
+44(0)7989 393699
So please help me...
Title: Doesn't match many of the numbers which should be valid.
Name: g1smd
Date: 10/28/2012 6:26:17 PM
Comment:
The pattern \+44\s\(0\)\s\d{2}\s\d{4}\s\d{4} will be OK for 020 3555 7890 but not for 0191 555 7890, 01750 635555, 01750 62555, 019467 88555 or 016977 3555, which are all valid.
Additionally, spaces should be optional.
See also:
http://www.regexlib.com/REDetails.aspx?regexp_id=3606
http://www.regexlib.com/REDetails.aspx?regexp_id=3607
http://www.regexlib.com/REDetails.aspx?regexp_id=3608
http://www.regexlib.com/REDetails.aspx?regexp_id=3609