On Tue, Dec 6, 2011 at 2:38 PM, Randal L. Schwartz wrote:
> > "Rob" == Rob Coops writes:
>
> Rob> The biggest problem with email addresses is that the rules of how an
> email
> Rob> address can be formatted are so relaxed and thus so complex that
> there is
> Rob> to the best of my knowledge
> "Rob" == Rob Coops writes:
Rob> The biggest problem with email addresses is that the rules of how an email
Rob> address can be formatted are so relaxed and thus so complex that there is
Rob> to the best of my knowledge not a single person that has ever managed to
Rob> create a 100% correct
On 29/11/2011 15:13, Rajeev Prasad wrote:
hello,
i am trying to extract email address from a afile, but not quite succesful.
here is what i have:
the file:
myterqlqt qntmrq Prqtesm qltul qzeez Smqik qltulqzee...@jmqil.com 976665
myterqlqt qntmrq Prqtesm teepqk Mittql teep...@jmqil.com 939383
O
thx Sheppy, good enough for me. i am a beginner in perl.
From: Sheppy R
To: Rob Coops
Cc: Rajeev Prasad ; perl list
Sent: Tuesday, November 29, 2011 9:54 AM
Subject: Re: extracting email addresses from a file
Couldn't you just use the non-white
On Tue, Nov 29, 2011 at 4:54 PM, Sheppy R wrote:
> Couldn't you just use the non-whitespace character to capture everything
> before and after the @ symbol?
>
> s/^.*\s(\S+@\S+)\s.*$/$1/
>
>
> Yes you could of course but... this is why I was saying nearly no syntax
checking... the minor check to
Couldn't you just use the non-whitespace character to capture everything
before and after the @ symbol?
s/^.*\s(\S+@\S+)\s.*$/$1/
On Tue, Nov 29, 2011 at 4:13 PM, Rajeev Prasad wrote:
> hello,
>
> i am trying to extract email address from a afile, but not quite
> succesful. here is what i have:
>
> the file:
> myterqlqt qntmrq Prqtesm qltul qzeez Smqik qltulqzee...@jmqil.com 976665
> myterqlqt qntmrq Prqtesm teepqk Mittql t
hello,
i am trying to extract email address from a afile, but not quite succesful.
here is what i have:
the file:
myterqlqt qntmrq Prqtesm qltul qzeez Smqik qltulqzee...@jmqil.com 976665
myterqlqt qntmrq Prqtesm teepqk Mittql teep...@jmqil.com 939383
Onjole qntmrq Prqtesm lmqrqtm Etqrq cont.
When I send mail to a certain address, the mail gets piped to my perl
script.
I'm then using Mail::Internet to extract info, including the From
header.
For me, the header looks like this
Pete Emerson <[EMAIL PROTECTED]>
1. I assume that they're all going to look different. Is that correct?
2. Is