procmail
[Top] [All Lists]

Re: extract part of subjkect line into variable?

1999-04-07 09:43:17
Excerpts from mail: (07-Apr-99) Re: extract part of subjkect line into 
variable? by Mathias Koerber
But that is not what I want to do. I want to extract the 911, not
what is left behind it.
\/ does not provide that solution...

Yes, it does.

:0
* ^Subject:[    ]*\[[^]]+\][    ]+
* ^Subject:[    ]*\[\/[^]]+
{ TAG = $MATCH }

Later,
Ed