Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(\b(?:(?:(?:(?:0[1-9])|(?:[1-2][0-9])|(?:3[0-1])|[1-9])[\/\-\.\s](?:(?:0[1-9])|1[0-2]|[1-9])[\/\-\.\s]\d\d(?:\d\d)?|(?:(?:0[1-9])|(?:[1-2][0-9])|(?:3[0-1])|[1-9])[\/\-\.\s](?:(?:0[1-9])|1[0-2]|[1-9])|(?:(?:0[1-9])|1[0-2]|[1-9])[\/\-\.\s]\d\d(?:\d\d)?|(?:(?:0[1-9])|(?:[1-2][0-9])|(?:3[0-1])|[1-9])[\/\-\.\s]\d\d(?:\d\d)?|\d\d(?:\d\d)?))\b)
/
g

Description

no description available

Submitted by anonymous - 7 years ago