Regular Expressions 101

Library entries

UK Postcode checker

Vote

1

Regular Expression
python

"
^(GIR ?0AA|[A-PR-UWYZ]([0-9]{1,2}|([A-HK-Y][0-9]([0-9ABEHMNPRV-Y])?)|[0-9][A-HJKPS-UW]) ?[0-9][ABD-HJLNP-UW-Z]{2})$
"

Description

Loading markdown...
Submitted by spookypeanut - 6 years ago