问题描述
我正在研究,我看到了各种方法,有或没有正则表达式。所以我要求b $ b询问哪个是最好的 - 也就是说,最彻底的。谢谢。
除非你有AJAX作为选项,否则我发现REGEX是最好的
解决方案。
Ajax当您需要检查域名和帐户
在邮件服务器上是否有效时,可能会更好。
Thiago
设置这是一种有用的方式,让老师知道学生是否聪明或聪明或对课程资料有所了解。
但是因为JavaScript字符串例程无法判断是否
Fred< Fr ** @ notspam.com是否可以交付电子邮件
地址,练习没有实际用途。
< URL:http://www.merlyn.demon.co.uk/ js-balid.htmrefers。
阅读新闻组clj及其FAQ是个好主意。见下文。
-
(c)约翰斯托克顿,英国伦敦。 [email protected] IE7 FF2 Op9 Sf3
news:comp.lang.javascript FAQ< URL:http://www.jibbering.com/faq/index.html>。
< URL:http://www.merlyn.demon.co.uk/js-index.htmjscr数学,日期,来源。
< URL:http ://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/& c,常见问题项目,链接。
I''m researching and I see various approaches, with or without regex. So I''m
asking for opinions on which is the best - that is, the most thorough. Thanks.
Unless your have AJAX as an option, I found REGEX to be the best
solution.
Ajax could be bether when you need to check if the domain and account
is valid on the mailserver.
Thiago
Setting that is a useful way for a teacher to tell whether a student is
intelligent or clever or knowledgeable on the course material.
But since there is no way for JavaScript string routines to tell whether
or not Fred <Fr**@notspam.com is or will be a deliverable E-mail
address, the exercise has no practical use.
<URL:http://www.merlyn.demon.co.uk/js-balid.htmrefers.
It''s a good idea to read the newsgroup c.l.j and its FAQ. See below.
--
(c) John Stockton, nr London UK. [email protected] IE7 FF2 Op9 Sf3
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
这篇关于最佳电子邮件验证器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!