Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
regex [a-zA-Z'] solution in Clear category for First Word by Fermax
import re
def first_word(text: str) -> str:
# Grab the first sequence of letters and apostrophe
return re.search("[^a-zA-Z']*([a-zA-Z']*)", text)[1]
July 23, 2018