Erik Voldengen  sent this one to the list a while back:

It handles "multiple top levels", checks for valid "root domains", disallows
double @@ and will ensure that the email address contains just
"alphanumeric" characters.

Very nice piece of work!

<cfset email_address="[EMAIL PROTECTED]">

<cfif
REFindNocase("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.(([a-z
]{2,3})|(aero|coop|info|museum|name))$",email_address)>
.good..
<cfelse>
.bad..
</cfif>

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to