<?php
$content = '<td align="center"><ul class="ul1"><li>查询结果1:四川省 移通</li><li>查询结果2:四川省成都市 移动</li></ul></td';$preg = "|<li>查询结果(.*?)</li>|si";preg_match_all($preg, $content, $matches);print_r($matches);
?>
$content = '<td align="center"><ul class="ul1"><li>查询结果1:四川省 移通</li><li>查询结果2:四川省成都市 移动</li></ul></td';$preg = "|<li>查询结果(.*?)</li>|si";preg_match_all($preg, $content, $matches);print_r($matches);
?>
(
[0] => Array
(
[0] => <li>查询结果1:四川省 移通</li>
[1] => <li>查询结果2:四川省成都市 移动</li>
) [1] => Array
(
[0] => 1:四川省 移通
[1] => 2:四川省成都市 移动
))