Email收件人的值如何获取,请各位大神帮忙
示例演示:http://demo.jb51.net/js/email_qq/index.htm
示例下载:http://xiazai.jb51.net/201101/yuanma/email_qq.rar
示例演示:http://demo.jb51.net/js/email_qq/index.htm
示例下载:http://xiazai.jb51.net/201101/yuanma/email_qq.rar
var text="姓名一<[email protected]>;姓名二<[email protected]>;姓名三<[email protected]>;姓名1<[email protected]>;";
var isemail=/([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})/ig;
var result=text.match(isemail);//返回邮箱地址数组["[email protected]", "[email protected]", "[email protected]", "[email protected]"]
if(result!=null){
}
不知道你想要的是不是这个