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 Check date for format DD-MM-YYYY
Expression
^((((0[1-9]|[1-2][0-9]|3[0-1])[./-](0[13578]|10|12))|((0[1-9]|[1-2][0-9])[./-](02))|(((0[1-9])|([1-2][0-9])|(30))[./-](0[469]|11)))[./-]((19\d{2})|(2[012]\d{2})))$
Description
Date pattern for date format DD-MM-YYYY or DD/MM/YYYY or DD.MM.YYYY. Year value limited from 1900-2299
Matches
01/01/1900 | 29/02/2012 | 31/12/2101
Non-Matches
30/02/2012 | 31/04/2010 | 31.05.2300
Author Rating: The rating for this expression. Yalchin Tagizade
   Displaying page 1 of 1 pages; Items 1 to 1

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