MAQ Software interview question

Parsing and extract dates from string