Regular Expressions 101

Community Patterns

datePattern convert to short format

0

Regular Expression
PCRE (PHP <7.3)

/
\W?Y{2,4}\W?
/
gm

Description

any number of non-word, 2-4 character Y, and any number of non word

Submitted by anonymous - 3 years ago