fork download
  1. import re
  2. s='The cat in the hat sat on the flat mat.'
  3. print(re.findall(r'\b[^\W\d_]at\b', s))
  4.  
Success #stdin #stdout 0.02s 6992KB
stdin
Standard input is empty
stdout
['cat', 'hat', 'sat', 'mat']