Title |
Test
Find
Data com ano bissexto (Date with leap year)
|
Expression |
^((29\/0?2\/[0-9]{0,2}(04|08|92|96|([1|3|5|7][2|6])|[2|4|6|8][0|4|8]))|(((28|[12][0-7]|0?[1-9])\/0?2)|((30|[12][0-9]|0?[1-9])\/(0?(4|6|9)|11))|((31|[12][0-9]|0?[1-9])\/(0?(1|3|5|7|8))|(10|12)))\/(\d{2}|\d{4}))$ |
Description |
Datas com os anos bissextos. Anos de 2 ou 4 digitos
Dates with leap years. Years 2 or 4 digits |
Matches |
31/01/2012 | 30/4/2012 | 10/01/12 | 29/2/2012 |
Non-Matches |
31/01/013 | 31/4/2013 | 29/2/2002 | 29/2/2000 |
Author |
Rating:
Not yet rated.
Andre Banderas
|
Source |
^((29\/0?2\/[0-9]{0,2}(04|08|92|96|([1|3|5|7][2|6])|[2|4|6|8][0|4|8]))|(((28|[12][0-7]|0?[1-9])\/0?2)|((30|[12][0-9]|0?[1-9])\/(0?(4|6|9)|11))|((31|[1 |
Your Rating |
|