I am now having trouble validating a format of a Date of Birth.
Here is my RegEx:
var regex_dob = /([0-9]{2})\/([0-9]{2})\/([0-9]{4})/
But it seems to be saying anything is valid?
Please help, thanks.
-huzi
This post has been edited by huzi8t9: 25 April 2010 - 08:42 AM

New Topic/Question
Reply



MultiQuote




|