Hi, What is wrong with this regular expression: var re=/\b((19|20)\d{2})[\-](1[0-2]|0?[1-9])[\-](0?[1-9]|[12][0-9]|3[01])/ I'm trying to check if date is correct.Date format should by YYYY-MM-DD but when I validate somethig like this: 2002-12-54 the test expression doesn't see any error ?