Edited by Corion: Moved to Seekers of Perl Wisdom
Hail Perl Monks:
I'm a Perl novice and could use some help with a regular expression job -- I strip out some data in a flat file and then convert it XML. The file looks like this:
...
URL=<http://www.1033edge.com/>
address=efmail@1033edge.com
username=efmail
password=testing
URL=<http://www.1033edge.com/>
address=efmail12@1033edge.com
username=efmail12
password=testing
URL=<http://www.1033edge.com/>
address=efmail2@1033edge.com
username=efmail2
password=testing
...
Ad naseum. If someone could help me out with a regular expression that would strip out everything but the email addresses (the stuff to the right of "address") and pipe it another text file, I will worship you forever. Forgive a novice programmer.
- Patrick (pnichols@uucom.com)
In reply to Perl Fool needs help by minister
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |