Regular Expressions 101

Library entries

Date-time extractor in the form of YYYYMMDDHHMMSS

Vote

1

Regular Expression
pcre

/
(\d{4})(0\d|1[0-2])([0-2]\d|3[0-1])([0-1]\d|2[0-3])([0-5]\d)([0-5]\d)
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago