Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(^$|[1][9][6]\d|[2][0][0]\d|[2][0][1][0-7])$
/
gm

Description

1960-2017 not required

Submitted by anonymous - 4 years ago