Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\b\d{1,2}\.\s{0,1}([a-zäöü]|[A-ZÄÖÜ])*(\s|\.)\d{4}
/

Description

Detects Dates in Various text formats

Submitted by Paul Dennis Bondy - 9 years ago