Toen ik Christopher Benson kietelde, kwam er dit uit:
the text I need to remove is: [TEX1]
"TPS20001-34987 [TEX1] How do I change my config?"
It depends. How real is the example?
WS = " " # "<space><tab>"
H_Subj Lft Rgt # unset some variables
:0
* ^Subject:\/.*\[TEX1].*
{
H_Subj = $MATCH
:0 # all text before the first [
* H_Subj ?? ^^\/[^[]*
{ Lft = $MATCH }
:0 # all text after the first ]
* H_Subj ?? \]\/.*
{ Rgt = $MATCH }
:0
{ H_Subj = "$Lft$Rgt" }
}
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail