Regex solution in Clear category for First Word by kkkkk
def first_word(text: str) -> str:
"""Return the first word in a given text; word can have an apostrophe."""
matches = re.search(r"([\w']+)", text)
return matches.groups() if matches.groups() else None
Oct. 3, 2019