Regular Expressions 101

Community Patterns

Community Library Entry

8

Regular Expression
PCRE (PHP <7.3)

/
(?<day>0[1-9]|1[0-9]|2[0-9]|3[01]).(?<month>0[1-9]|1[012]).(?<year>[0-9]{4})(?: (?<hour>[0-1]\d|2[0-3]):(?<minute>[0-5]\d):(?<second>[0-5]\d)|)
/

Description

no description available

Submitted by Mr.Neutro - 11 years ago