Filtering out words with nonword characters in it