parsing - How to keep only some keywords in text file -
have text file emails inside. need remove emails without keywords inside (ie: gmail, yahoo...).
there way ?
in advance.
yes. in language want it?
example in smalltalk:
((filestream filenamed: 'emails.txt') substrings: emailseparatorchar) reject: [:a|a includessubstring: akeyword]
Comments
Post a Comment