Displaying page
of
pages;
Items to
Title |
Test
Details
UK telephone number match
|
Expression |
(\(?\+44\)?\s?(1|2|3|7|8)\d{3}|\(?(01|02|03|07|08)\d{3}\)?)\s?\d{3}\s?\d{3}|(\(?\+44\)?\s?(1|2|3|5|7|8)\d{2}|\(?(01|02|03|05|07|08)\d{2}\)?)\s?\d{3}\s?\d{4}|(\(?\+44\)?\s?(5|9)\d{2}|\(?(05|09)\d{2}\)?)\s?\d{3}\s?\d{3}
|
Description |
Matches most common patterns for UK telephone numbers including +44 prefix , and with or without brackets. Covers 10 and 11 digit number ranges. Should be easy to modify for other number ranges.
|
Matches |
01234 123 123 , (+44)1234 123 123 , 0123 456 7890 , 01234567890 , (01234) 567 890
|
Non-Matches |
1234 123 123 , +44 01234 567 890
|
Author |
Rating:
Ian Smith
|
Displaying page
of
pages;
Items to