Title |
Test
Find
ISODate string format
|
Expression |
^(\d{4})\D?(0[1-9]|1[0-2])\D?([12]\d|0[1-9]|3[01])(\D?([01]\d|2[0-3])\D?([0-5]\d)\D?([0-5]\d)?)?(\D\d{3}(\D(\d{4})?)?)?$ |
Description |
Matches the ISODate string format from nodejs |
Matches |
2100-01-01T02:00:00.000Z | 2100-01-01T02:00:00 | 2100-01-01T02:00:00.000-0300 | 2006-12-31 17:58:00 | 20061231175800 | 2006-12-31 |
Non-Matches |
2006-13-36 25:61:62 |
Author |
Rating:
Milrren Mattar
|
Source |
Based on "ISO Date Format" by Paul Ward |
Your Rating |
|