fork download
  1. import re
  2.  
  3. text = "hey there 222 how are you ??? fine I hope!"
  4.  
  5. print re.findall("[a-z]+", text, re.IGNORECASE)
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
['hey', 'there', 'how', 'are', 'you', 'fine', 'I', 'hope']