Regular Expressions 101

Library entries

UK Postcode Checker

Vote

22

Regular Expression
pcre

/
^([a-zA-Z]{1,2}\d{1,2})\s*?(\d[a-zA-Z]{2})$
/
gmi

Description

Loading markdown...
Submitted by MaffooBristol - 7 years ago