in reply to Validating date

Replace the \d{1,4} with \d{2}(?:\d{2})?, ie two digits of the year followed by an optional further two digits