Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
\d{2}-(January|February|March|April|May|June|July|August|September|October|November|December)-\d{4}
/
i

Description

Validates dd-Month-year patterns

Submitted by Ami - 9 years ago