benjamincharity
1/26/2016 - 2:02 PM

Regex for ISO date format.

Regex for ISO date format.

// i.e. "2015-08-12T06:12:40.858Z"
/^(\d{4}\-\d\d\-\d\d([tT][\d:\.]*)?)([zZ]|([+\-])(\d\d):?(\d\d))?$/