*choke*

hehe... I'm sure it's a thing of beauty to those who are enlightened.

Thx,  ~Val

----- Original Message -----
From: "Joseph Thompson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 2:37 PM
Subject: Re: RegEx for alpha num


> >... a few real-world examples go a
> > long way.
>
> Here is my all time favourite RE.  It has a little of everything:
>
> A special thanks to Erik Voldengen for  this "email validation" RE.
>
> 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