I have an output file that contains one very large string, and looks look this:
<who><presence from='username1@myserver.mydomain.com/Exodus' to='username2@myserver.mydomain.com'>
followed by some more non-important data. I want to extract the first e-mail address using sed or awk.
I'm a bit of a novice, so any help would be greatly appreciated.
<who><presence from='username1@myserver.mydomain.com/Exodus' to='username2@myserver.mydomain.com'>
followed by some more non-important data. I want to extract the first e-mail address using sed or awk.
I'm a bit of a novice, so any help would be greatly appreciated.