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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -