Try ^(\~\*)+(.*\n)+ which collects up everything after a line starting with
~*

If you put this in a group, then RegExp Coach does crash with an illegal
formatting character error (odd). TB regexp might not (i.e.
((\~\*)+(.*\n)+)%- breaks Regexp Coach (even without the trailing %-)

If you want to be more specific you could try
((\~\*)+\sConserve Archive(.*\n)+)%- 
Graham

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert D.
Sent: 19 October 2005 12:56
To: TBTECH
Subject: Regex for ~*~*~*


I have been trying to include a line in Januk_Driver and Extract QT's
to remove everything after a troublesome line at the bottom of emails
from another list I am on.

I tried playing with "The Regex Coach" I had D/L'd a few years ago but
it crashes.

Here's the line I tried first:
((\s*)?\n?Conserve Archive?.*?\n?\s*)?%-

but it leaves the first occurance of    ~*~*~*~*~*~*~*~*

Here are the first three lines of the tag they add:
<begin quote>
~*~*~*~*~*~*~*~* Conserve Archive space, Don't OVERQUOTE *~*~*~*~*~*~*~*~
DISCLAIMER! Please note: All statements are opinions only.
Link to Archives and list options:

<end quote>

When I try to add ~*~*~*~*~*~*~*~* Conserve Archive space
      I get errors. So I assume that either ~or * must be a
      metacharacter and I have to escape it somehow. Right?

-- 

Thanks for the help ...
Robert D.
_________________________
The Bat! Version: 3.61.11 Echo (Beta)
Windows ME
FireFox


________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html



------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains 
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New 
Jersey, USA 08889), and/or its affiliates (which may be known outside the 
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as 
Banyu) that may be confidential, proprietary copyrighted and/or legally 
privileged. It is intended solely for the use of the individual or entity named 
on this message.  If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then delete 
it from your system.
------------------------------------------------------------------------------

________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to