Re: email validation

2008-11-10 Thread Rob Dixon
Anusha Krishna chand wrote: > > How to validate an email id using perl regular expression . This should help you. Rob use strict; use warnings; use Regexp::Common 'Email::Address'; my $email_re = $RE{Email}{Address}; foreach ( '"Anusha Krishna chand" <[EMAIL PROTECTED]>', '"R

RE: email validation

2008-11-10 Thread Bob McConnell
From: Dermot > 2008/11/10 Rob Coops <[EMAIL PROTECTED]>: >> On Mon, Nov 10, 2008 at 11:55 AM, Anusha Krishna chand < >> [EMAIL PROTECTED]> wrote: >> >>> Hi All, >>> How to validate an email id using perl regular expression . >>> > ... >> >> As for how to actually do that... there are a

Re: email validation

2008-11-10 Thread Dermot
2008/11/10 Rob Coops <[EMAIL PROTECTED]>: > On Mon, Nov 10, 2008 at 11:55 AM, Anusha Krishna chand < > [EMAIL PROTECTED]> wrote: > >> Hi All, >> How to validate an email id using perl regular expression . >> ... > > As for how to actually do that... there are a lot of different ways an

Re: email validation

2008-11-10 Thread Rob Coops
On Mon, Nov 10, 2008 at 11:55 AM, Anusha Krishna chand < [EMAIL PROTECTED]> wrote: > Hi All, > How to validate an email id using perl regular expression . > First of all it would be nice to see what you tried so far with out that it seems like you are simply using thsi mailing list

Re: Email validation syntax

2002-05-01 Thread Randal L. Schwartz
> "Shane" == Shane McElwee <[EMAIL PROTECTED]> writes: Shane> Below I've a regular expression that checks the syntax of an email address. Shane> The problem I'm having is with the underscore "_" . I've tried some Shane> different forms of syntax but I know its something simple I'm missing. I

Re: Email validation syntax

2002-05-01 Thread drieux
On Wednesday, May 1, 2002, at 12:43 , McElwee, Shane wrote: > Below I've a regular expression that checks the syntax of an email > address. > The problem I'm having is with the underscore "_" . I've tried some > different forms of syntax but I know its something simple I'm missing. I > think I'

Re: Email validation syntax

2002-05-01 Thread John W. Krahn
Shane McElwee wrote: > > Below I've a regular expression that checks the syntax of an email address. > The problem I'm having is with the underscore "_". The \w character class includes the underscore character (\w eq [a-zA-Z0-9_]) > I've tried some > different forms of syntax but I know its so

Re: Email validation syntax

2002-05-01 Thread Kevin Meltzer
Take a look at Email::Valid Cheers, Kevin On Wed, May 01, 2002 at 03:43:07PM -0400, McElwee, Shane ([EMAIL PROTECTED]) said something similar to: > Below I've a regular expression that checks the syntax of an email address. > The problem I'm having is with the underscore "_" . I've tried some >

Re: Email Validation

2002-02-19 Thread Kevin Meltzer
On Tue, Feb 19, 2002 at 03:53:57PM -0800, Roger Morris ([EMAIL PROTECTED]) said something similar to: > I hadn't found that module when I was searching the net. the > Email::Validdoesn't catch the @this_host.com It also doesn't catch | > in the email, which I would've thought shouldn't be

Re: Email Validation

2002-02-19 Thread Roger Morris
At 03:35 PM 2/19/2002 -0800, Randal L. Schwartz wrote: > > "Roger" == Roger Morris <[EMAIL PROTECTED]> writes: > >Roger> I've been working on email validation for a script. The examples I've >Roger> seen haven't exactly done that great of a job. I've taken the code >Roger> and messed with it

Re: Email Validation

2002-02-19 Thread Randal L. Schwartz
> "Roger" == Roger Morris <[EMAIL PROTECTED]> writes: Roger> I've been working on email validation for a script. The examples I've Roger> seen haven't exactly done that great of a job. I've taken the code Roger> and messed with it some. But not enough. :) Roger> sub valid_email () Roger>

Re: Email Validation

2002-02-19 Thread Kevin Meltzer
Hi Roger, Have you looked at the Email::Valid and Mail::Address modules? Mail::Address will piece apart an email address (address, phrase, etc..) and Email::Valid can do RFC822 some address validation (including MX host checking). Cheers, Kevin On Tue, Feb 19, 2002 at 11:37:49AM -0800, Roger Mo