<script language=JavaScript>
a="13000000000"
b="13100000000"
c="13300000000"
d="13500000000"
e="13600000000"
f="13800000000"
g="13900000000"
function yunshui(v)
{return v.match(/^(13){1}[0,1,3]{1}\d{8}$/ig)==null?"移动":"联通"
}
alert(yunshui(a))
alert(yunshui(b))
alert(yunshui(c))
alert(yunshui(d))
alert(yunshui(e))
alert(yunshui(f))
alert(yunshui(g))
</script>
a="13000000000"
b="13100000000"
c="13300000000"
d="13500000000"
e="13600000000"
f="13800000000"
g="13900000000"
function yunshui(v)
{return v.match(/^(13){1}[0,1,3]{1}\d{8}$/ig)==null?"移动":"联通"
}
alert(yunshui(a))
alert(yunshui(b))
alert(yunshui(c))
alert(yunshui(d))
alert(yunshui(e))
alert(yunshui(f))
alert(yunshui(g))
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货