Regular Expressions 101

Community Patterns

Custom Datetime Finder

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(\%date\%)(\d{4}-\d{1,2}-\d{1,2})((T)(\d{1,2}\:\d{1,2}))?\#([a-zA-Z]+)?
/
g

Description

Determine date time parts

Submitted by anonymous - 4 months ago (Last modified 4 months ago)