catch FormatException when found a valid date. Just because it matches the regular expression doesn't mean it is actually in that format