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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/(\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/(\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/(\d{2}))|(29\/02\/((0[48]|[2468][048]|[13579][26])|(00))))$
Description
Matching : dd/MM/yy Leap years compatible Italian style, just for more fun. Please, don't forget to rate it if you use it. THX
Matches
31/12/75 | 29/02/00 | 29/02/04
Non-Matches
01/13/01 | 29/02/01 | 29/02/2004
Author Rating: Not yet rated. Dany Lauener
Source My magic box :)
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Regex.IsMatch Date Validation....
Name: Jose Gallardo
Date: 3/15/2010 7:19:58 PM
Comment:
I have the followiing statement, but it does not work for 2010....mm/dd/yyyy. Please help.....


Title: Thanks Dany
Name: Mark
Date: 5/29/2009 9:59:47 AM
Comment:
Well Done. Saved me a job!


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