trying to use regex(s) to clean up text

2008-09-10 Thread lbrtchx
Hi, ~ Sometimes one needs to just read the basic content of some text without tags and other included text segments ~ I am trying to cleanse slashdot comments but some patterns I am not getting right. Here are the patterned segments of texts I would like to match: ~ // __ (1) lines looking like;

Re: trying to use regex(s) to clean up text

2008-09-10 Thread Mr. Shawn H. Corey
On Wed, 2008-09-10 at 07:12 -0700, [EMAIL PROTECTED] wrote: > Re:An the solution is (Score:3, Interesting) > Re:An the solution is (Score:5, Informative) > Re:Its a pity that... (Score:4, Informative) > Re:Quick Fix (Score:4, Informative) > Re:Quick Fix (Score:4, Insightful) > ~ > I am mat

Re: trying to use regex(s) to clean up text

2008-09-11 Thread Albretch Mueller
On Wed, Sep 10, 2008 at 1:47 PM, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote: > On Wed, 2008-09-10 at 07:12 -0700, [EMAIL PROTECTED] wrote: >> Re:An the solution is (Score:3, Interesting) >> Re:An the solution is (Score:5, Informative) >> Re:Its a pity that... (Score:4, Informative) >> Re:

Re: trying to use regex(s) to clean up text

2008-09-11 Thread Deviloper
There are online RegEx-Utilities that helps you building regex. There are some modul with many common regex to steal from or just import. (Regexp::Common) And there is ActiveState Perl Editor with a 30 Trail and a great "realtime" RegEx-Tool and Debugger. If nothing else helps take a look at per