立奇首页 | 会员登录
加入收藏
代码如下:
<?php
$str = '<a href="http://www.baidu.com">baidu</a>';
echo preg_replace("/<(/?a.*?)>/si","",$str);
?>
阅读量: 2055