Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
[A-Z]{4}\s[0-9]{3}+\s+[0-9]{3}\s[0-9] |[A-Z]{4}\s[0-9]{3}+\s+[0-9]{3}\-[0-9] |[A-Z]{4}\s[0-9]{6}\-[0-9] |[A-Z]{4}[0-9]{6}\-[0-9] |[A-Z]{4}[0-9]{6}[0-9]
/
g

Description

no description available

Submitted by anonymous - 7 years ago