Title |
Test
Find
Birthday regular expression Dutch
|
Expression |
^([0-9]{0,2})-([0-9]{0,2})-([0-9]{0,4})$ |
Description |
I needed to have a birthday regular expression in dutch format with full year (1900) so i wrote this one. |
Matches |
25-01-1990 |
Non-Matches |
25-01-90 |
Author |
Rating:
Vincent van Daal
|
Source |
www.php.net |
Your Rating |
|
Title: Es macht nicht !!
Name: calimezoro
Date: 11/30/2015 4:56:17 AM
Comment:
ES MACHT NICHT SMALL SUCKER @"^[0-9]{2}\.[0-9]{2}\.[0-9]{4}$"
NOW ES MACHT !
Title: Non match error
Name: P. de Bie
Date: 1/21/2011 5:53:24 AM
Comment:
The expression is wrong. when you use date 13-01-82 it stays valid.
Expression should be:
^([0-9]{0,2})-([0-9]{0,2})-([0-9]{4})$