Regular Expressions 101

Community Patterns

0185ac1

1

Regular Expression
PCRE (PHP <7.3)

/
^([A-Za-z0-9]{2})([0-9]{2})((?:[A-R][0-9]{2}){0,10})((?:[0-9]{4}){0,12})((?:[A-Z])?)$
/
gm

Description

no description available

Submitted by anonymous - 8 years ago