...
$htm = "test1
" .
"test2
" .
"test3
" .
"test4
" .
"test5
";
echo $htm . "
";
echo stripthetag($htm);
function stripthetag($link) {
return (preg_replace('@]*?>@si', ' ', $link));
}
http://www.bkjia.com/PHPjc/447011.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/447011.htmlTechArticle$htm = a href=http://www.php100.nettest1/abr / . a href=http://www.php100.nettest2/abr / . a href=http://www.php100.nettest3/abr / . a href=http://www.php100.nettest4/abr / . a hre...