I should have prefaced my subject with NEWBIE :)
Thanks, I'll give it a try.
Best regards, verdon
On 2/11/04 12:12 PM, "Richard Davey" <[EMAIL PROTECTED]> wrote:
> Hello Verdon,
>
> Wednesday, February 11, 2004, 5:09:22 PM, you wrote:
>
> VV> I am trying to use a perl regular expression to validate a form field
> where
>
> VV>
> (!ereg("20\d{2}(-|\/)((0[1-9])|(1[0-2]))(-|\/)((0[1-9])|([1-2][0-9])|(3[0-1]
>
> Surely you should be using preg_match() (i.e. a perl syntax reg exp) ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php