Dayforce interview question

Given a string s representing a sentence. Split it into words, based on rules.