Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
[0-9]{2}\/[0-9]{2}\/[0-9]{4}
/
gm

Description

Some invalid dates are matched. For those, add control using java when parsed if number is greater than limit.

Submitted by anonymous - 3 years ago