实测,通过,巧用explode函数
<?php$html="<i class='icon-phone'></i></div><div class='media-body'><span id='num' class='pull-left'>1393664****</span><div class='contact-actions'><a data-contact='0917' href='###' class='show-contact button button-grey'>点击查看完整号码</a>"
$cut1="div class='media-body'><span id='num' class='pull-left'>"
$cut2="****</span><div class='contact-actions'><a data-contact='"
$cut3="'"
$step1 = explode($cut1,$html)
$step2=$step1[1]
$step3=explode($cut2,$step2)
$step4=$step3[1]
$step5=explode($cut3,$step4)
echo $step3[0].$step5[0]
?>
<table><tr><td colspan="2"></td><td></td></tr>
<tr><td></td><td></td></tr>
<tr><td></td><td></td></tr>
</table>