Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-05-26 08:49
Flavor·PCRE2 (PHP)

/
\b((?:19|20)\d{2})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])\b
/
gm
Open regex in editor

Description

\b((?:19|20)\d{2})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])\b

Submitted by Ziuzhang