Created
December 15, 2020 12:57
-
-
Save stemount/7fce4f60717aa5f1a32e486f8e4a7937 to your computer and use it in GitHub Desktop.
Official Gov.UK Postcode Regex remixed (allowing space e.g. SW1V 2AA)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([AZa-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z]))))[0-9][A-Za-z]{2}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment