正则替换link标签问题
$segname=
preg_replace( '/]*>/i', '', $segname );
替换失败,正则该如何写
------解决方案--------------------
$segname='aa<link href="css/content.css" rel="stylesheet" type="text/css">bb'; echo preg_replace( '/<link>]*>/i', '', $segname ); <div class="clear"> </div>