Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^[A-Za-z]{1,2}[\d]{1,2}([A-Za-z])?\s?[\d][A-Za-z]{2}$
|
Description |
UK Postal Codes - The code is normally written in capital letters with a space between the outer and inner parts; it is understandable if the space is omitted.
This regular expression validates upper or lower case with or without the space:
|
Matches |
CF1 2AA | cf564fg
|
Non-Matches |
a1234d | A12 77Y
|
Author |
Rating:
Not yet rated.
Scott Pite
|
Displaying page
of
pages;
Items to