re search solution in Clear category for First Word by timqsh
def first_word(text: str) -> str:
returns the first word in a given text.
return re.search("[\w']+", text)
Dec. 29, 2018