$str.="document.Zqnow.SetLoginTime(1255821735);";
$str.="document.Zqnow.SetLoginKey('bd660d1436f71192f24545a24f9d7383');";请问如何截取目标内容为1255821735和bd660d1436f71192f24545a24f9d7383谢谢
$str.="document.Zqnow.SetLoginKey('bd660d1436f71192f24545a24f9d7383');";请问如何截取目标内容为1255821735和bd660d1436f71192f24545a24f9d7383谢谢
preg_match_all("/(?<=\()([^\)]+)(?=\))/g",$str,$matchs);
substr()
strlen()
这三个个函数接合着用就可以了