Regular Expressions 101

Community Patterns

Short regex

1

Regular Expression
PCRE (PHP <7.3)

/
^(A[ABEHKLMPRSTWXY]|B[ABEHKLMT]|C[ABCEHKLR])[0-9]{6}$
/

Description

no description available

Submitted by Ric - 8 years ago