arupratan biswas wrote:
> hey felix thanx for help.plz help once again,i want to give date through html page
> that way just that format like yyyy-mm-dd otherwise give error.i cannot understand how i use
> regular expression for date format validation.
Please stop addressing forum messages directly to me.
Please stop asking Perl-only questions here. There are better places as I already told you.
I will no longer anwser your Perl-only questions here.
You don't want to use a regex to validate dates on the server, use one of the Date:: modules instead (e.g. Date::Calc, see
http://search.cpan.org/~stbey/Date-Calc-5.4/)
If you want to validate your dates in the browser, find a javascript function with google, or install one of the million calendar javascripts.
--
felix
Please use
BBCode to format your messages in this forum.