$str = 'g_arrSeryPos_2 = Number(297);g_arrSeryMapList[297] = new Array(2,"","中国甲","","#DB7D00","",1,"http://football.sportscn.com
/spain/");';if(preg_match("/.*?new\s+Array\((\d)\,.*?\,\"(.*?)\".*/i",$str,$re))
{
echo "$re[1]==>$re[2] \n";}else{
echo "Unmatched. \n";}
/spain/");';if(preg_match("/.*?new\s+Array\((\d)\,.*?\,\"(.*?)\".*/i",$str,$re))
{
echo "$re[1]==>$re[2] \n";}else{
echo "Unmatched. \n";}
$string = 'g_arrSeryPos_2 = Number(297);g_arrSeryMapList[297] = new Array(2,"","中国甲,"","#DB7D00","",1,"http: //football.sportscn.com/spain/");';
$p = '/.*=\s?new\s?Array\((\d+),\"\",\"(.*),\".*/Ui';
preg_match($p, $string, $matches);
print_r($matches);