Please Correct Regular expression.
-
(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d regular expression i am using to check date for MM/dd/yyyy now i want to accept M/dd/yyyy and MM/dd/yyyy format please tell where to put what and this regular expression i am using in ajax tab panel on M/dd/yyyy it gives error..
umerumerumer
-
(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d regular expression i am using to check date for MM/dd/yyyy now i want to accept M/dd/yyyy and MM/dd/yyyy format please tell where to put what and this regular expression i am using in ajax tab panel on M/dd/yyyy it gives error..
umerumerumer
If you need a date validator, use the following. It is so much easier than regex programming. If you want to use regex try posting a question http://stackoverflow.com/questions/tagged/regex[^] I'm awful at writing regex so I'm not even going to try and help you with that.
-
(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d regular expression i am using to check date for MM/dd/yyyy now i want to accept M/dd/yyyy and MM/dd/yyyy format please tell where to put what and this regular expression i am using in ajax tab panel on M/dd/yyyy it gives error..
umerumerumer
I suggest you use a custom validation control, RE won't detect things like 30/2/2009 Tell me if you want any help with that
Waleed Eissa Software Developer Sydney