Regular Expressions 101

Library entries

City and state validation

Vote

0

Regular Expression
pcre

/
^.+? ?, ?(A[LKSZRAP]|C[AOT]|D[EC]|F[LM]|G[AU]|HI|I[ADL N]|K[SY]|LA|M[ADEHINOPST]|N[CDEHJMVY]|O[HKR]|P[ARW]|RI|S[CD] |T[NX]|UT|V[AIT]|W[AIVY])$
/
i

Description

Loading markdown...
Submitted by Adu - 8 years ago