>- see footer for list info -<
Or if you are cf7, theres now inbuilt validation for email (finally)

So, you can use validate="email" within a cfform or <cfif not
isValid("email", var.varName)> on the server

M

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Baynes
Sent: 05 October 2005 10:19
To: Coldfusion Development
Subject: Re: [CF-Dev] Email address regex please

>- see footer for list info -<
Or you can use this!

http://www.cflib.org/udf.cfm?id=216&enable=1

On 10/5/05, Gene Brown <[EMAIL PROTECTED]> wrote:
> >- see footer for list info -<
>  Allan,
>
> I use this
>
> ^(([[:alnum:]!\##-'*+\-\/=?^`{-~]+(\.[[:alnum:]!\##-'*+\-\/=?^`{-~]+)*
> )| 
> (\.+))@((([[:alnum:]]+[[:alnum:]\-]*[[:alnum:]]+\.)+[[:alpha:]]{2,7}))
> $
>
>
> Gene
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Allan Cliff
> Sent: Wednesday, October 05, 2005 10:14 AM
> To: CF Developer
> Subject: [CF-Dev] Email address regex please
>
> >- see footer for list info -<
> Any one got a bit of cf code, regex / custom tag to validate email 
> syntax?
>
> Pre-cfmx 7
>
> Allan
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go 
> to http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
> >help
> -<
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go 
> to http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
> >help -<
>


--
Simon Baynes
www.simonbaynes.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help 
>-<




_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to