Think about Loose Coupling | |
PerlMonks |
Regex for e-mail contacts nameby lothar4ever (Initiate) |
on Jan 23, 2012 at 19:42 UTC ( [id://949511]=perlquestion: print w/replies, xml ) | Need Help?? |
lothar4ever has asked for the wisdom of the Perl Monks concerning the following question: I need a Regex that let me filter the name of the contacts that software like Outlook Express usually adds when sending emails. Example:I have this string: $string = 'sean@gmail.com, "richard" <richard@gmail.com>, "john" <john@gmail.com>, <jack@gmail.com>'; And i want to have this: 'sean@gmail.com, <richard@gmail.com>, <john@gmail.com>, <jack@gmail.com>' I know this is probably not hard, but don't know how to do it, tried everything i could think of. Thanks. PS: sorry for my english, is not my native language.
Back to
Seekers of Perl Wisdom
|
|