$s='<span class="pl">季数:<a href="http://movie.douban.com/subject/3401355/reviews">更多评论(共109条)</a><br />
dfs<a href="http://movie.douban.com/subject/6973376/reviews"><br />
共<br />
<span property="v:count">109</span><br />
条<br />
</a><a href="http://movie.douban.com/subject/6537486/reviews">全部 109 条</a>';<br />
$p_search='#(\d+)(</span>)?\s*条#s';<br />
preg_match_all($p_search,$s,$m);<br />
print_r($m[1]);
로그인 후 복사