the "[email protected]" address may not be matched by my regexp, because here two 
dots after @. Here it is more universal: /\A.+?\@.+?\..+\Z/

10.07.2014, 21:43, "Sunita Pradhan" <[email protected]>:
> I do not want to use Cpan modules .
>
> -Sunita
>
>> Date: Thu, 10 Jul 2014 11:33:24 -0700
>> Subject: Re: script to match a valid email id
>> From: [email protected]
>> To: [email protected]
>> CC: [email protected]
>>
>> Sunita Pradhan wrote:
>> > I want to write a script which will verify a valid email address .
>> > Could anybody give some ideas , how to write a pattern for this ?
>> >
>> > -Sunita
>> >
>>
>> Take a look at the Email::Valid module.
>> http://search.cpan.org/~rjbs/Email-Valid-1.194/lib/Email/Valid.pm
>>
>>
>> --
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> http://learn.perl.org/
>>
>>

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to