21,886
社区成员
发帖
与我相关
我的任务
分享
<?php
header("Content-Type:text/html;charset:UTF-8");
$content='<a href="495662.html"title="更新时间:2008-3-5 2:28:00 更新字数:3348">hello world</a>';
$newcontent=preg_match_all("|<[^>]+>(.*)</[^>]+>|",'<a href="495662.html"title="更新时间:2008-3-5 2:28:00 更新字数:3348">hello world</a>',$out);
echo $out[1][0];
?>