Hello Januk,

On Mon, 22 Jan 2001, at 01:45:08 [GMT -0800] (10:45 my local time), you wrote:

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!

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

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

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

Well, I have tried it, but doesn't work for me :(. Please, help me with the
following message from my forum. This one is usual and I am posting it as an
example. I would like to remove first 8 and the last 3 rows.

=========================== the beginning of the message 
==================================
YU PC Expert

--------------------------- ListBot Sponsor --------------------------
  Dial 800-555-TELL. Instant updates - One free call.
  Sports, stocks, driving directions...& much more!

   http://www.bcentral.com/listbot/tellme1
----------------------------------------------------------------------

Pozdrav.

Da li neko zna sta je od opreme potrebno i koji software za dekodovanje "digitalnih"
satelitskih programa preko PC-a?
Pozdrav,
Ivan.


______________________________________________________________________
To unsubscribe, write to [EMAIL PROTECTED]
=============================== the end of the message 
==================================

Any idea for my reply template? In between which lines where should I paste the
macro procedure?
Thank you very much in advance!

-- 
Best regards,
Lija



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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

You are subscribed as : [email protected]


Reply via email to