Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
(^0[1-9]\d{1}\s\d{4}\s?\d{4}$)|(^0[1-9]\d{2}\s\d{3}\s?\d{4}$)|(^0[1-9]\d{2}\s\d{4}\s?\d{3}$)|(^0[1-9]\d{3}\s\d{3}\s?\d{2}$)|(^0[1-9]\d{3}\s\d{3}\s?\d{3}$)|(^0[1-9]\d{4}\s\d{3}\s?\d{2}$)|(^0[1-9]\d{4}\s\d{2}\s?\d{3}$)|(^0[1-9]\d{4}\s\d{2}\s?\d{2}$)
|
Description |
This will match valid UK telephone numbers. This adheres to ofcom's code and number length guide available at http://www.ofcom.org.uk/licensing_numbering/numbers/num_user_guide#1b Brackets and international codes are not allowed.
A space MUST be used after the dialling code, and spaces at the expected points within the remainder of the number can be used if need be, but not nessesary, hence 0208 6473 373 is the same as 0208 647 3373 and 0208 6473373
|
Matches |
01323 293 374 | 020 73643763 | 017354 7478
|
Non-Matches |
02 83838 74 | (01323) 828223 | +44 88282 828
|
Author |
Rating:
rob collyer
|
Displaying page
of
pages;
Items to