Displaying page
of
pages;
Items to
Title |
Test
Details
UK Telephone Format
|
Expression |
^0(((1[0-9]{2}[ -]?[0-9]{3}[ -]?[0-9]{4})|(1[0-9]{3}[ -]?[0-9]{6})|(1[0-9]{4}[ -]?[0-9]{4,5}))|((1[0-9]1)|(11[0-9]))[ -]?[0-9]{3}[ -]?[0-9]{4}|(2[0-9][ -]?[0-9]{4}[ -]?[0-9]{4})|((20[ -]?[0-9]{4})|(23[ -]?[8,9][0-9]{3})|(24[ -]?7[0-9]{3})|(28[ -]?(25|28|37|71|82|90|92|95)[0-9]{2})|(29[ -]?2[0-9]))[ -]?[0-9]{4}|(7[4-9][0-9]{2}[ -]?[0-9]{6})|((3[0,3,4,7][0-9])[ -]?[0-9]{3}[ -]?[0-9]{4})|((5[5,6][ -]?[0-9]{4}[ -]?[0-9]{4})|(500[ -]?[0-9]{3}[ -]?[0-9]{4}))|(8[0247][0-9]{1}[ -]?[0-9]{3}[ -]?[0-9]{4})|(9[0-9]{2}[ -]?[0-9]{3}[ -]?[0-9]{4}))$
|
Description |
Follows http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom
must have a specific length and be a valid telephone number in the UK
Must start with a 0, have included 01 02 03 05 08 numbers. character spacing have be " ", "-",
accepts 01 02 03 05 07 08 numbers, rejects everything else.
|
Matches |
020 1234 1234 | 020-1234-1234 | 02012341234 | 01234 123456 | 012345 1234
|
Non-Matches |
0201 234 1234 | 0201-234-1234 | 0201234123 | 012341 23456 | 0123451 234 | 00000 000000
|
Author |
Rating:
Not yet rated.
Craig Hughes
|
Displaying page
of
pages;
Items to