Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple regex solution in Clear category for First Word by Pouf
import re
def first_word(text: str) -> str:
first_word_match = re.search("([\w']+)", text)
return first_word_match.groups()[0]
June 28, 2020