Regular Expressions 101

Library entries

ISO-8601 date parse

Vote

0

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by Norbi - 2 years ago