Re: [WebDNA] Email syntax checking code?
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 112288
interpreted = N
texte = [!]------------------- EMAIL CHECK -----------------[/!][TEXT]emailvalid=3DT[/TEXT][!][/!][TEXT]cleanthis=3D[Grep search=3D =&replace=3D][_EMAIL][/Grep][/TEXT][!][/!][if ("[url][CleanThis][/url]"=3D"")][!][/!][THEN][TEXT]emailvalid=3DF[/TEXT][/THEN][!][/!][else][!][/!][TEXT]emailvalid=3DT[/TEXT][!][/!][showif =[url][CleanThis][/url]=3D][TEXT]EmailValid=3DF[/TEXT][/showif][!][/!][if =("[url][CleanThis][/url]"^"[url]^[/url]")|("[url][CleanThis][/url]"^"[url]=![/url]")][then][TEXT]EmailValid=3DF[/TEXT][/Then][/If][!][/!][hideif [emailvalid]=3DF][!][/!][hideif =[url][CleanThis][/url]^.][TEXT]emailvalid=3DF[/TEXT][/Hideif][!][/!][hideif [emailvalid]=3DF][!][/!][hideif [grep =search=3D[-aA-zZ0-9_.]*@[-aA-zZ0-9_.]*[-aA-zZ0-9_.]*[-aA-zZ0-9_.]*&replace==3D=C3=BA][CleanThis][/grep]=3D=C3=BA][TEXT]EmailValid=3DF[/TEXT][/Hideif]=[!][/!][/hideif][!][/!][/hideif][!][/!][/else][!][/!][/if][!][/!][ShowIf [emailvalid]=3DF][TEXT multi=3DT]EMAILERROR=3DT[/TEXT][/showif=]Kind regardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au> On 8 May 2015, at 08:46, Kenneth Grome
=wrote:>=20> That didn't take long. Two hours ago I ended the bad relationship> with my former client, and I just got a new client who has hired> me to build him a custom mobile website.>=20> :)>=20> If anyone has some code that checks the syntax of an email address> please send or post it if you're willing to share it.>=20> I won't have any trouble writing it myself, but if someone has> theirs handy it might save me a little time. Thanks.>=20> Regards,> Kenneth Grome> WebDNA Solutions> http://www.webdnasolutions.com> Web Database Systems and Linux Server Administration> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
[!]------------------- EMAIL CHECK -----------------[/!][text]emailvalid=3DT[/TEXT][!][/!][text]cleanthis=3D[Grep search=3D =&replace=3D][_EMAIL][/Grep][/TEXT][!][/!][if ("[url][CleanThis][/url]"=3D"")][!][/!][THEN][text]emailvalid=3DF[/TEXT][/THEN][!][/!][else][!][/!][text]emailvalid=3DT[/TEXT][!][/!][showif =[url][CleanThis][/url]=3D][text]EmailValid=3DF[/TEXT][/showif][!][/!][if =("[url][CleanThis][/url]"^"[url]^[/url]")|("[url][CleanThis][/url]"^"[url]=![/url]")][then][text]EmailValid=3DF[/TEXT][/Then][/If][!][/!][hideif [emailvalid]=3DF][!][/!][hideif =[url][CleanThis][/url]^.][text]emailvalid=3DF[/TEXT][/Hideif][!][/!][hideif [emailvalid]=3DF][!][/!][hideif [grep =search=3D[-aA-zZ0-9_.]*@[-aA-zZ0-9_.]*[-aA-zZ0-9_.]*[-aA-zZ0-9_.]*&replace==3D=C3=BA][CleanThis][/grep]=3D=C3=BA][text]EmailValid=3DF[/TEXT][/Hideif]=[!][/!][/hideif][!][/!][/hideif][!][/!][/else][!][/!][/if][!][/!][ShowIf [emailvalid]=3DF][TEXT multi=3DT]EMAILERROR=3DT[/TEXT][/showif=]Kind regardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au> On 8 May 2015, at 08:46, Kenneth Grome =wrote:>=20> That didn't take long. Two hours ago I ended the bad relationship> with my former client, and I just got a new client who has hired> me to build him a custom mobile website.>=20> :)>=20> If anyone has some code that checks the syntax of an email address> please send or post it if you're willing to share it.>=20> I won't have any trouble writing it myself, but if someone has> theirs handy it might save me a little time. Thanks.>=20> Regards,> Kenneth Grome> WebDNA Solutions> http://www.webdnasolutions.com> Web Database Systems and Linux Server Administration> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Stuart Tremain
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Test (2000)
Include vs. lookup? (1998)
Resolving variables into field names-resolved! (1998)
[math date] with non-US date format (2000)
[WebDNA] Sandbox issues ... (2011)
[sort of OT] uploading soundfiles. (2002)
Only charge card when product shipped ? (1997)
WebCatalog/WebMerchant 2.1.1 (PC + Mac) Available (1998)
Replacing entry (1998)
Price written to db as scientific notation??? (1999)
Strange intermittent WebDNA problems (2008)
Sku numbers (1997)
[if][/if] weirdness (2000)
PCS Frames (1997)
Error: Too many nested [xxx] contexts (1997)
Nested search (1997)
Upgrading old WebCat Database Files (1997)
Error Log (2000)
WebCat2b12--[searchstring] bug (1997)
Error 11 (1996)