标签:
<script type="text/javascript">
var refid=‘dasdasd,dadsad‘;
var reg =/^([\u0391-\uFFE5\d\w,])*([\u0391-\uFFE5\d\w]+)$/;
if(refid != "") {
if(reg.exec(refid)) {
alert(‘验证通过‘);
}else {
alert(‘验证失败‘);
}
}
</script>
标签:
原文地址:http://www.cnblogs.com/myFlyream/p/5418304.html