: + displayname + is not a valid
email address.);
setfocus(vfld);
return false;
}
return true;
}
-Original Message-
From: Crow T. Robot [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 4:32 PM
To: CF-Talk
Subject: email regex?
What's
What's everyone's favorite regex for validating form-input email
addresses on the client side?
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239187
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
I don't generally bother, because you can validate the hell out of it,
but [EMAIL PROTECTED] will always work :)
I just don't think it's worth the effort to validate. If you want to
ensure that it's a 'good' address, automatically send them an e-mail
to which they must respond...or i think there
/cffunction
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Crow T. Robot [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 4:32 PM
To: CF-Talk
Subject: email regex?
What's everyone's favorite regex for validating form-input email addresses
Oops,
The one I sent was Sever side, but could be changed for client-side...
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Crow T. Robot [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 4:32 PM
To: CF-Talk
Subject: email regex?
What's everyone's
Yea, we're gonna do both, just trying to validate it a little bit before
it makes it to the processing page.
I just checked the livedocs and used that one.
Thanks
Charlie Griefer wrote:
I don't generally bother, because you can validate the hell out of it,
but [EMAIL PROTECTED] will always
I have good luck with: isValid(email, form.emailAddr)
What's wrong with that?
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239195
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
: Re: email regex?
I have good luck with: isValid(email, form.emailAddr)
What's wrong with that?
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239196
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
into that yet. My Email validator is pre MX7... But
I gotta start using the IsValid() methods.
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 5:14 PM
To: CF-Talk
Subject: Re: email regex?
I
Charlie Griefer wrote:
I don't generally bother, because you can validate the hell out of it,
but [EMAIL PROTECTED] will always work :)
yeah, but [EMAIL PROTECTED] won't break cfmail.
Rick
~|
Message:
On 5/1/06, Rick Root [EMAIL PROTECTED] wrote:
Charlie Griefer wrote:
I don't generally bother, because you can validate the hell out of it,
but [EMAIL PROTECTED] will always work :)
yeah, but [EMAIL PROTECTED] won't break cfmail.
True...i guess validation (or some sort of error handling)
All:
I've been using a regex found on this list to validate email addresses.
I've now run into a problem with the regex that I can't solve.Any help
would be greatly appreciated.
The email address is not required so the field can either be left blank or
must contain a valid email address.The
The - needs to be the very last character in the class.
This is because the - in any other postion indicates a range of chars.
so \-_ is saying\]^_ (which is the \ character to the _ character in the ascii table)
Jerry Johnson
[EMAIL PROTECTED] 07/01/04 11:56AM
All:
I've been using a regex
\- means no dashes!
Paul
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
I use
function IsEmail(str)
{
var sInvalidCharsPattern = [^[:alnum:[EMAIL PROTECTED]'];
var sFormatPattern =
([a-z0-9][-._a-z0-9]*)[EMAIL PROTECTED]([a-z0-9][-_a-z0-9]*\.)+[a-z]{2,7};
var sStrippedEmail = REReplaceNoCase(Trim(str),
sInvalidCharsPattern, , ALL);
str = Trim(str);
Jerry (and everyone else):
Thanks.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
Jerry Johnson [mailto:[EMAIL PROTECTED] wrote:
The - needs to be the very last character in the class.
This is because the - in any
All:
I've been using a regex found on this list to validate email addresses.
I've now run into a problem with the regex that I can't solve.Any help
would be greatly appreciated.
The email address is not required so the field can either be left blank or
must contain a valid email address.The
To: CF-Talk
Subject: Email Regex with weird results
All:
I've been using a regex found on this list to validate email addresses.
I've now run into a problem with the regex that I can't solve.
Any help
would be greatly appreciated.
The email address is not required so the field can either be
left
Stephen Milligan [mailto:[EMAIL PROTECTED] wrote:
I think you just need to modify the domain check a little bit...
[snip]
Thanks.
Actually, this message got posted twice and I already received an answer.
Basically the same as yours. 8^)
Thanks again.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301)
:[EMAIL PROTECTED] On Behalf Of Mosh Teitelbaum
Sent: Thursday, July 01, 2004 11:56 AM
To: CF-Talk
Subject: RE: Email Regex with weird results
Stephen Milligan [mailto:[EMAIL PROTECTED] wrote:
I think you just need to modify the domain check a little bit...
[snip]
Thanks.
Actually, this message got
Green [mailto:[EMAIL PROTECTED]]
| Sent: Wednesday, July 24, 2002 03:36
| To: CF-Talk
| Subject: Email regex
|
|
| Hi all,
|
| Im working on a regular expression for matching an email.
|
| So far I have this:
| [-A-Za-z0-9_\.]+[@][-A-Za-z0-9_]+([\.][-A-Za-z0-9]+)+
|
| used like this:
| CFSET
email
CFELSE
Invalid email
/CFIF
Chris Lofback
Sr. Web Developer
TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL 33761
www.trxi.com
-Original Message-
From: Jeff Green [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:36 PM
To: CF-Talk
Subject: Email regex
Hi all
Hi all,
Im working on a regular expression for matching an email.
So far I have this:
[-A-Za-z0-9_\.]+[@][-A-Za-z0-9_]+([\.][-A-Za-z0-9]+)+
used like this:
CFSET EmailPos =
REFindNoCase([-A-Za-z0-9_\.]+[@][-A-Za-z0-9_]+([\.][-A-Za-z0-9]+)+,From,1,
True)
I swear ive used this before and it
23 matches
Mail list logo