Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^20(1[6-9]|[2-4][0-9]|50)
/
gm

Description

Starts with a year in the range of 2016 to 2050

Submitted by Abhi Reddy - 2 years ago