Here's the RegEx string I use to validate E-mail addresses .. maybe thiw
will work better for you?
var emailexp = /^[a-z][a-z_0-9\.]+@[a-z_=>0-9\.]+\.[a-z]{3}$/i
Todd
----- Original Message -----
From: "Brian Peddle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 31, 2000 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.primary_email) gt 1>
> Bad Email
> </cfif>
>
> Thanks!
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.