This one is heavily influenced (if not blatantly hacked) from Dain Andersons
excellent ColeredCode script.

<cfif
REFindNocase("[[:alnum:]][-a-zA-Z0-9_%\.]*)?[[:alnum:]]+@+[[:alnum:]]+[.][[:
alnum:]]",email_address) eq 1>
  ..good address..
<cfelse>
  ..bad adress..
</cfif>


----- Original Message -----
From: "Jeff Beer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 8:35 AM
Subject: validate email addresses in text area


> Does anyone have a routine to parse and validate e-mail addresses in a
text
> area?
>
> I'm having some trouble figuring out all the necessary steps.
>
> It would be cool if it could handle various delimiters (spaces, commas,
etc)
> and validate each address, resulting in a simple comma delimited list of
> valid (format) addresses.
>
> Thank in advance!
>
> Jeff
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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