At 08:22 2001-01-15 -0500, David Stern wrote:
I'm looking for a regular expression to remove a variable length string from
a subject but retain the rest of it eg
incoming could be something like:
hasdf dsjfhadfa ...KNOWN STRING.....
167jhjkd KNOWN STRING ...
and procmail should strip it to everything after and including KNOWN STRING.
Tried using $match?
:0fh
* ^Subject:.*\/KNOWN STRING.*
| formail -I"Subject: $MATCH"
---
Please DO NOT carbon me on list replies. I'll get my copy from the list.
Sean B. Straw / Professional Software Engineering
Post Box 2395 / San Rafael, CA 94912-2395
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail