updating the regex for the date