Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Regular expression solution in Clear category for First Word by Wartem
import re
def first_word(text: str) -> str:
return re.search(r"['\w]+", text).group(0)
Aug. 5, 2022
Comments: