st" <[EMAIL PROTECTED]>
Sent: Monday, May 17, 2004 2:52 PM
Subject: Re: Date Time field validation
> I'm not sure if this will help but how about escaping the forward
> slashes;
>
> ^\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}$
>
> you may have to escape the backslashes as
I'm not sure if this will help but how about escaping the forward
slashes;
^\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}$
you may have to escape the backslashes as well (you have to
do this when constructing a RE in C:
^\\d{2}\\/\\d{2}\\/\\d{4} \\d{2}:\\d{2}$
don't know about javascript... just a thought.
Dean
2 matches
Mail list logo