| Title |
Test
Find
Pattern Title
|
| Expression |
^(([1-9]|[0-2]\d|[3][0-1])\.([1-9]|[0]\d|[1][0-2])\.[2][0]\d{2})$|^(([1-9]|[0-2]\d|[3][0-1])\.([1-9]|[0]\d|[1][0-2])\.[2][0]\d{2}\s([1-9]|[0-1]\d|[2][0-3])\:[0-5]\d)$ |
| Description |
Correct German DateTime. Does not check leap year rules!
Possible Formats of date part:
D.M.YYYY or D.MM.YYYY or DD.MM.YYYY or DD.M.YYYY
Possible formats of time part:
h:mm or hh:mm |
| Matches |
20.10.2003 08:10 | 24.12.2003 | 1.1.2004 8:15 |
| Non-Matches |
25.13.2004 | 20.10.2003 08:9 |
| Author |
Rating:
Markus Unterauer
|
| Source |
Modified french datetime regex from Samir AZZA |
| Your Rating |
|