Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<!\d)(19[789]\d|20[012]\d)(?!\d)
/
gm

Description

Years: 1970-2029

Submitted by Ant-kul - 3 years ago