In my app all the dates are saved using java.util.Date format:
YYYY-mm-DD (year, month, day)
So 1988-05-13 is a valid date. So I think only digits are valid, month is [1:12], day is [1:30] E.g. this is a regular expression I use for my logins
/^[a-z]([0-9a-z_])+$/i
Which JavaScript regular expression should I use to check this date?