procmail
[Top] [All Lists]

Special character on the Subject line

2007-06-08 07:16:47
I need to extract a number from the subject line where Subject line is
something like that:

Some text (Customer #12345679)


My current recipe is the following:

:0
 * ^Subject: .*Customer # ()\/[0-9]+
 * MATCH ?? ^^\/[0-9]+
 { CUST_NO = $MATCH }


It doesn't catch this number. Does anybody have any ideas how to fix it?

Thanks



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>