Corrected RE is below. Toward the end, I added a \ at *\.[[:alpha:]]{2,}$
"^([[:alnum:]][-a-Sa-Z0-9_%\.]*)?[[:alnum:]]@[[:alnum:]]
[-a-Sa-Z0-9%\ .]*\.[[:alpha:]]{2,}$"
Actually, I think your ranges are a little off. For instance, I think you
mean -a-zA-Z0-9 instead of -a-Sa-Z. I corrected
Yep, something got munged in the copying. Thanks for catching it.
Jim
-Original Message-
From: Seth Petry-Johnson [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, June 19, 2000 8:08 PM
Subject: Re: REGEX validating email
Corrected RE is below. Toward the end
Chris,
Way back in the beginning of April you posted the following regexp to the
CF-Talk as a regexp that can be used to check whether or not a string is a
properly formatted email address.
Here's the code I use
CFSET IsEmail =
00 6:10 PM
Subject: REGEX validating email
Im doing some server side validation and Im trying to make sure the '@'
and the '.' is in there. I have played with a variety of things and cant
get it to work. Here is the last one I tried.
cfif refindnocase("[a-z0-9_\.]+@[a-z0-9-]",form
Whiting Street
Ph: 703-823-4300Suite 201
fax: 703-823-4301 Alexandria, VA 22304
http://www.csmi.com
-Original Message-
From: Brian Peddle [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 31, 2000 5:10 PM
To: [EMAIL PROTECTED]
Subject: REGEX validating email
-Original Message-
From: Brian Peddle [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 31, 2000 15:10
To: [EMAIL PROTECTED]
Subject: REGEX validating email
Im doing some server side validation and Im trying to make sure the '@' and
the '.' is in there. I have played with a variety of things
PROTECTED]]
Sent: Friday, March 31, 2000 2:10 PM
To: [EMAIL PROTECTED]
Subject: REGEX validating email
Im doing some server side validation and Im trying to make sure the '@'
and the '.' is in there. I have played with a variety of things and cant
get it to work. Here is the last o
For form validation on email characters "@, ." where do you place this script on the
template? Example form page would be great!
Thanks
KM
Seth Petry-Johnson wrote:
Im doing some server side validation and Im trying to make sure the '@' and
the '.' is
in there. I have played with a
8 matches
Mail list logo