Go to:

http://www.desertraven.com/codemodules.php

and download cf_checkemail

There's a very comprehensive regex in it you can analyse to your heart's
content. :)

Michael J. Sheldon
Internet Applications Developer
Phone: 480.699.1084
http://www.desertraven.com/
PGP Key Available on Request

-----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 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.

------------------------------------------------------------------------------
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.

Reply via email to