Title |
Test
Find
Pattern Title
|
Expression |
(((0[1-9]|[12][0-9]|3[01])([/])(0[13578]|10|12)([/])([1-2][0,9][0-9][0-9]))|(([0][1-9]|[12][0-9]|30)([/])(0[469]|11)([/])([1-2][0,9][0-9][0-9]))|((0[1-9]|1[0-9]|2[0-8])([/])(02)([/])([1-2][0,9][0-9][0-9]))|((29)(\.|-|\/)(02)([/])([02468][048]00))|((29)([/])(02)([/])([13579][26]00))|((29)([/])(02)([/])([0-9][0-9][0][48]))|((29)([/])(02)([/])([0-9][0-9][2468][048]))|((29)([/])(02)([/])([0-9][0-9][13579][26]))) |
Description |
This is the Brazilian Date Format.
DD/MM/YYYY with the right days per month.
Dates >=1900 <=2999. |
Matches |
29/02/2004 | 31/01/1900 | 31/01/2999 |
Non-Matches |
29/02/2003 | 12042004 | 20/04/04 |
Author |
Rating:
Felipe Albacete
|
Source |
|
Your Rating |
|
Title: Does not work
Name: Patrick
Date: 7/26/2007 4:43:03 AM
Comment:
This regular expression does not work.
Try something like "01/01/2100", it won't match. :(
Title: Bug
Name: knave
Date: 5/18/2005 10:27:04 PM
Comment:
returns true even if the year is 1005.