Re: note 35164 rejected from function.ereg by pollita
| From: | Mehdi Achour | Date: | Fri, 22 Aug 2003 07:43:13 +0000 |
| Subject: | Re: note 35164 rejected from function.ereg by pollita | ||
| References: | 1 2 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54849@lists.php.net to get a copy of this message | ||
Why rejected ? :)
didou
pollita@php.net wrote:
Note Submitter: Igor ---- Here is a more complex french date validator, can handle j/m/aaaa and jj/mm/aaaa formats (day (0)1-31, month (0)1-12 and year 9999) : ereg("^([1-9]|0[1-9]|[1-2][0-9]|3[0-1])/([1-9]|0[1-9] |1[0-2])/([0-9]{4}$)", $date)