Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for First Word by wbl4126
import re
def first_word(text: str) -> str:
return [s for s in re.split('[,. ]', text) if s][0]
March 9, 2020