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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find EU Date
Expression
^(([1..9])|(0[1..9])|(1\d)|(2\d)|(3[0..1])).((\d)|(0\d)|(1[0..2])).(\d{4})$
Description
This pattern can be used to match EU style dates of formad d.m.yyyy where d and m can be two digits d <= 31 and m <= 12
Matches
10.04.1985, 10.4.1985, 05.05,2007, 30.2.2000
Non-Matches
33.13.2000, 1.19.12,10/04/1985, 0.0.2000
Author Rating: Not yet rated. Stjepan Obranković
Source
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: Doesn't work
Name: Jason
Date: 5/7/2008 4:55:05 PM
Comment:
For days 02-08 this Validator returns a false negative.


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