var s = "123456.0+/*-!@#$%^&*()_ZXCVBNM<"
function meizz(s)
{
while(/([\uFF00-\uFF80])/.test(s))
{
s = s.replace(RegExp.$1, String.fromCharCode(RegExp.$1.charCodeAt(0) - 65248));
}
return s;
}
alert(meizz(s));
function meizz(s)
{
while(/([\uFF00-\uFF80])/.test(s))
{
s = s.replace(RegExp.$1, String.fromCharCode(RegExp.$1.charCodeAt(0) - 65248));
}
return s;
}
alert(meizz(s));
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货