Then take a look at the Owl (Regular Expressions) book. The first appendix, if I recall correctly) has an regex that will validate an e-mail address. The regex is something over 2,000 characters long. Nota Bene: [email protected] IS NOT the only valid format for an email address.... In this case, you really need to rethink your objection to using the proper CPAN module.
B On Thu, Jul 10, 2014 at 11:42 AM, Sunita Pradhan < [email protected]> wrote: > 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/ > > > > > -- Bob Goolsby [email protected]
