procmail
[Top] [All Lists]

Re: [procmail] Adding dashes to phone number in subject

2003-06-27 11:59:01
G.M. Wayne skribis:

NEWSUB1= Just the phone number, with no spaces, dashes or alpha
characters 


FTEL

:0
* NEWSUB1 ?? \/... 
{ FTEL = $MATCH }

:0
* NEWSUB1 ?? ...\/...
{ FTEL = "($FTEL) $MATCH" }

:0
* NEWSUB1 ?? ......\/....
{ FTEL = "$FTEL-$MATCH" }

-- 
Affijn, Ruud


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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