ilovechristy has asked for the wisdom of the Perl Monks concerning the following question:
My goal is to remove the spam comments using regex filters. Comments start from the term "COMMENT:" and end on "-----". I have tried various approaches to this, but none have been successful. Any assistance would be much appreciated. Thank you all.AUTHOR: bobMonk TITLE: Monk Software Chart STATUS: Publish CATEGORY: Monks DATE: 05/21/2006 11:36:16 AM ----- COMMENT: AUTHOR: Joe Legitimate Man EMAIL: Joe@legitdomain.com This is a legitimate comment. ----- COMMENT: AUTHOR: more spam casino stuff EMAIL: marengo@greenfield.com Blabla, more spam. poker blabla ----- COMMENT: AUTHOR: Joe Legitimate Man EMAIL: Joe@legitdomain.com This is a legitimate comment. -----
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Delete all "records" which contain a regex match
by ikegami (Patriarch) on Jun 05, 2006 at 16:14 UTC | |
|
Re: Delete all "records" which contain a regex match
by liverpole (Monsignor) on Jun 05, 2006 at 15:46 UTC | |
by ilovechristy (Novice) on Jun 05, 2006 at 15:52 UTC | |
by prasadbabu (Prior) on Jun 05, 2006 at 16:04 UTC |