Bain & Company interview question

How to filter for dates using regex (first round).