62,243
社区成员




var str="CheckInstallQQ('855003478',as,as2,2222";
var reg=/CheckInstallQQ\('(\d+)(?=')/i;
var result = str.match(reg);
alert(result[1]);
function CheckInstallQQ(QQ) {
var re = /\d+/;
if (re.test(value)) {
return value;
} else {
return '不是QQ号';
}
}
string str = "CheckInstallQQ('855003478'";
Regex reg = new Regex(@"\d+");
Console.WriteLine(reg.Match(str).Value);