Re: script to match a valid email id

2014-07-11 Thread Gunnar Hjalmarsson
On 2014-07-10 20:30, 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 ? Almost 10 years ago I posted this: http://www.mail-archive.com/beginners%40perl.org/msg62681.html Probably that funct

Re: script to match a valid email id

2014-07-11 Thread David Precious
On Fri, 11 Jul 2014 10:20:10 +0300 Yosef Levy wrote: > 2014-07-10 21:30 GMT+03:00 Sunita Pradhan > : > > > 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 ? > \b[\w\.-]+@[\w\.-]+\.\w{2,4}\b > This was taken fr

Re: script to match a valid email id

2014-07-11 Thread Yosef Levy
\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b This was taken from: http://www.regexr.com/ 2014-07-10 21:30 GMT+03:00 Sunita Pradhan : > 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 >