Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
re.search solution in Clear category for First Word by kdim
import re
def first_word(text: str) -> str:
return re.search(r'[a-zA-Z\']+', text).group(0)
Jan. 16, 2021
Comments: