Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
([0-9][0-9]\)\x20)([0-9][0-9]|[0-9][0-9]-[0-9][0-9])\.([0-9][0-9])\.([0-9][0-9])
/
gm

Description

Search: 12) 05.09.08 - xxxxxxxxxx Replace: 2008.09.05 - xxxxxxxxxx ([0-9][0-9])\x20)([0-9][0-9]|[0-9][0-9]-[0-9][0-9]).([0-9][0-9]).([0-9][0-9]) 20$4.$3.$2

Submitted by DbrmnPhrh - 2 years ago