Title |
Test
Find
Pattern Title
|
Expression |
^(((((0[1-9])|(1\d)|(2[0-8]))\/((0[1-9])|(1[0-2])))|((31\/((0[13578])|(1[02])))|((29|30)\/((0[1,3-9])|(1[0-2])))))\/((20[0-9][0-9])|(19[0-9][0-9])))|((29\/02\/(19|20)(([02468][048])|([13579][26]))))$ |
Description |
matches a date in dd/mm/yyyy format |
Matches |
01/01/2001 | 29/02/2004 |
Non-Matches |
32/12/2001 | 29/02/2005 | 05/13/2005 |
Author |
Rating:
Not yet rated.
Lucian Toza
|
Source |
|
Your Rating |
|
Title: Thanks for Date Format
Name: Arvind Srivastava
Date: 6/23/2006 6:23:51 AM
Comment:
thank for your date format string i have to find same thing
Title: Bug
Name: Michael Ash
Date: 12/8/2005 10:37:58 AM
Comment:
This regex accepts 29/02/1900 which is an invalid date. 1900 is not a leap year.