Title |
Test
Find
UK Telephone
|
Expression |
(((\+44)? ?(\(0\))? ?)|(0))( ?[0-9]{3,4}){3} |
Description |
This regex matches UK phone numbers in multiple formats, including those that begin with the international dial code and optionally bracket the leading zero of the area code. To match a number must begin with either +44 or 0 and have 9-12 following digits. |
Matches |
+44 (0) 1234 567890 or +44 1234 567890 or 01234 567890 or 0123 456 7890 |
Non-Matches |
Numbers not beginning with 0 or +44 and numbers with less than 9 digits |
Author |
Rating:
VB
|
Source |
|
Your Rating |
|
Title: Doesn't work 5 digit phone numbers
Name: John Seto
Date: 11/22/2007 10:03:59 AM
Comment:
There are still a few places I think have 5 digit phone numbers, Newbury is a definite.
Title: dsfdf
Name: dsfdf
Date: 8/6/2007 1:28:22 AM
Comment:
sdfdsfdfdfdfdfdfdfdfdf