RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details 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: The rating for this expression. Milrren Mattar
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials