Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
\s*@?(\d{2})[ -_\.]*?(\d{2})[ -_\.]*?(\d{2,4})
/
gm

Description

Format Date from different input

Submitted by fpreppo - 7 months ago