1 2 | def find_words(string, words_to_find):
return [x for x in string.replace(',', '').lower().split() if x in words_to_find]
|
More like this
- Profanity Function (Disemvowel) by areich 2 years, 7 months ago
- Detect iPhone & Switch Template via render_to_response by bryanhelmig 1 year, 8 months ago
- CleanCharField by DvD 4 years, 4 months ago
- Tags & filters for rendering search results by exogen 3 years, 10 months ago
- Detect blog platform by twinsant 4 years, 8 months ago
Comments