Sweet thanks :D

----- Original Message ----- 
From: "Gene Brown" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 2004 11:17 AM
Subject: RE: [ cf-dev ] OT Javascript form validation sexiness


> Matt,
>
> This is the regex I use for e-mail validation I have 2 slightly different
> versions 1 for JavaScript and 1 for CF Serverside.
>
>
> JavaScript =
>
/^(([^<>()[\]\\.,;:[EMAIL PROTECTED]"]+(\.[^<>()[\]\\.,;:[EMAIL 
PROTECTED]"]+)*)|(\"[^\"\\]+\"))@((\[(
>
([0-1]?[0-9]{1,2}\.)|(2[0-4][0-9]\.)|(25[0-5]\.)){3}(([0-1]?[0-9]{1,2})|(2[0
> -4][0-9])|(25[0-5]))\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
>
> CF =
>
"^(([[:alnum:]!\##-'*+\-\/=?^`{-~]+(\.[[:alnum:]!\##-'*+\-\/=?^`{-~]+)*)|(\.
> +))@((([[:alnum:]]+[[:alnum:]\-]*[[:alnum:]]+\.)+[[:alpha:]]{2,7}))$";
>
>
> So far the e-mail addresses I have tested have been correctly processed.
>
>
> Cheers
> Gene
>
>
> ________________________________
>
> From: Matt Horn [mailto:[EMAIL PROTECTED]
> Sent: 21 July 2004 09:49
> To: [EMAIL PROTECTED]
> Subject: Re: [ cf-dev ] OT Javascript form validation sexiness
>
>
> I dont own the book :P
>
>  but I will find a good regex for email validation :D
>
>  thanks again
>
>  oh FYI
>
> validation should also be done serverside :D
>
> Matt
>
>
> ----- Original Message ----- 
> From: Robertson-Ravo, Neil (RX)
> <mailto:[EMAIL PROTECTED]>
> To: '[EMAIL PROTECTED]'
> Sent: Wednesday, July 21, 2004 10:38 AM
> Subject: RE: [ cf-dev ] OT Javascript form validation sexiness
>
>
> There is a classic regex in the O'Reilly RegEx book..its a whole
> page long for email validation!
>
>
>
> ________________________________
>
> From: Matt Horn [mailto:[EMAIL PROTECTED]
> Sent: 21 July 2004 07:24
> To: [EMAIL PROTECTED]
> Subject: Re: [ cf-dev ] OT Javascript form validation sexiness
>
>
>
> hmm
>
>
>
> methinks I need to work on the regex then
>
>
>
> thanks :D
>
> Matt
>
>
>
> ----- Original Message ----- 
>
> From: Giles Roadnight <mailto:[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
>
> Sent: Tuesday, July 20, 2004 5:32 PM
>
> Subject: RE: [ cf-dev ] OT Javascript form validation
> sexiness
>
>
>
> It won't accept my e-mail address:
>
>
>
> [EMAIL PROTECTED]
>
>
>
>
>
> Giles Roadnight
>
> http://giles.roadnight.name
>
>
>
> -----Original Message-----
> From: Matt Horn [mailto:[EMAIL PROTECTED]
> Sent: 20 July 2004 15:31
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] OT Javascript form validation sexiness
>
>
>
> Thanks to Neil and company for the help
>
>
>
> here is the script in all its glory
>
>
>
>
>
> http://www.matt-horn.org/jstest2.cfm <-- try break it ( I
> know about the access denied on submit its intentional)
>
>
>
>
>
> |\--------------------/|
> Matt Horn
> Web Applications Developer
> Ph:+2782 424 3751
> W: http://www.matt-horn.org
> E:[EMAIL PROTECTED]
> |\--------------------/|
>
> This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
> Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540. It contains information which is
> confidential and may also be privileged. It is for the exclusive use of
the
> intended recipient(s). If you are not the intended recipient(s) please
note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful. If you have
> received this communication in error please return it to the sender or
call
> our switchboard on +44 (0) 20 89107910. The opinions expressed within this
> communication are not necessarily those expressed by Reed Exhibitions.
Visit
> our website at http://www.reedexpo.com
>
>
> -- 
> These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
> Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> CFDeveloper Sponsors and contributors:-
> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
>       *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
>            *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>


-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to