Hello Lija,

Historians believe that Mon, 22 Jan 2001 at 09:42:48 GMT +0100 was when,
Lija [L] typed the following:

L> Is there any regex that can help me to remove this when replying?
L> Advertisments are pretty 'constant' - 6 rows, first one and the last are common.

L> So, I need a regex that will search from this first line and delete this and 5 rows
L> afterward. Can you write it for me, please!

Try this.  *Warning: Only minimal testing was done.*

<regexp>
%SETPATTREGEXP="(?is)(.*)(\n+-{20,}\s*ListBot\s*Sponsor\s*-{20,}.*?-{60,}\n+)?(.*)"%REGEXPBLINDMATCH="%TEXT"
%SUBPATT="1"
%SUBPATT="3"
</regexp>

Note there should be a line break or two between the subpatterns.

-- 
Thanks for writing,
 Januk Aggarwal

 Using The Bat! 1.49c under Windows 98 4.10 Build 2222  A

 OK, I'm weird! But I'm saving up to become eccentric.

-- 
______________________________________________________
Archives   : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : [email protected]


Reply via email to