thx Sheppy, good enough for me. i am a beginner in perl.
________________________________ From: Sheppy R <[email protected]> To: Rob Coops <[email protected]> Cc: Rajeev Prasad <[email protected]>; perl list <[email protected]> Sent: Tuesday, November 29, 2011 9:54 AM Subject: Re: extracting email addresses from a file Couldn't you just use the non-whitespace character to capture everything before and after the @ symbol? s/^.*\s(\S+@\S+)\s.*$/$1/
