devoir1:Validate a date using a regular expression(RegExp)