This might provide more ideas for your regexp pattern, it works with egrep:
 
^((0?[1-9]{1})|(1[0-2]{1})){1}[/]((0?[1-9]{1})|(1[0-9]{1})|(2[0-9]{1})|(3[0-1]{1})){1}[/][0-9]{4}$
 
Not sure about the "date validator".  Does it prevent submission of 2/29/2003?  I do 
everything server side ;)
 
m

David Erickson <[EMAIL PROTECTED]> wrote:
Here is what I came up with.. I don't know if its valid or not but I'd like
it to match a date in the format MM/dd/yyyy for parsing.

mask

^[0-1]{1}[0-9]{1}/[0-3]{1}[0-9]{1}/[1-2]{1}[0-9]{3}$



Thanks!

-David




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Reply via email to