extract username from email address2005-09-26 12:12:40I'm trying to get the username portion of an email
address. No match though. Any tips?
"From: Somebody <username(_at_)somedomain(_dot_)com>"
:0
* ^From:\/.*
{
FROM = "$MATCH"
}
:0
* FROM ?? (?<=<)[^(_at_)]*
{
USERNAME = "$MATCH"
}
____________________________________________________________
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
|
|
||||||||||||||||