Regular Expressions 101

Library entries

RFC3339 DateTime

Vote

9

Regular Expression
pcre

/
^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(?:\.\d+)?))(Z|[\+-]\d{2}:\d{2})?)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 6 years ago