Good afternoon Luc !
On Sat, 8 Mar 2003 00:19:06 +0100 GMT your local time,
which was 08.03.2003, 00:19 (GMT+0100) where I live, you (Luc Luc)
wrote in mid:[EMAIL PROTECTED]:
B>> %SETPATTREGEXP="(?i)^((re|ha|rcpt|fwd|fw)*\:*\s*)*(\[\d\])*\s*(.*)$"%-
B>> %REGEXPBLINDMATCH="%OFullSubj"%-
B>> %SUBPATT="4"
> As i'm not familiar with regex, i suspect re|ha|rcpt|fwd|fw is the part one wants to
> delete ?
Not only. In addition to any kind of prefix a subject could have the
reply-counter is deleted as well "(\[\d\])*\s*". But I think there is
a mistake in the regex above because it is assumed that the colon
precedes the reply-counter, which is not true. So possibly
"(?i)^((re|ha|rcpt|fwd|fw)*)*(\[\d\])*\:*\s*(.*)$" should work better
^^^^
(I omitted some patterns looking for whitespaces).
The part we are looking for is the fourth bracket==subpattern which I
underlined above and which is addressed by %SUBPATTERN="4"
--
Best regards,
Gerd
=======================================================
Tutorial for using regular expressions with TheBat! www.regenechsen.de
-------------------------------------------------------
Der Nachteil der Demokratie ist, dass sie denjenigen, die es ehrlich
mit ihr meinen, die H�nde bindet. Aber denen, die es nicht ehrlich
meinen, erm�glicht sie fast alles. (V�clav Havel)
-------------------------------------------------------
now playing: WDR2 :-)
________________________________________________________
Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html