JS正则验证邮箱/手机/电话的格式
援引兄弟博客
http://zithan.iteye.com/blog/729780#comments
<SCRIPT LANGUAGE=javascript RUNAT=Server>function isEmail(strEmail) {if (strEmail.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1)return true;elsealert(”oh”);}</SCRIPT><input type=text onblur=isEmail(this.value)>