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
- Human readable file names decorator by maxk 2 years, 1 month ago
- Regular Expression Dictionary by skitch 5 years, 10 months ago
- Template tag "ifregex" and "ifnotregex" by arthurfurlan 3 years, 11 months ago
- Detect blog platform by twinsant 5 years, 12 months ago
- Allow disabling options in a select widget by scjody 1 year, 11 months ago
Comments