php tutorial to filter non-site links
This article is an example of using PHP regular expressions to filter non-site links.
*/
php
$neirong = preg_replace("/]*?[^<>]*?>).*?/si"," ",$bbb);
echo $neirong;
Method 2
$str ='
Swarovski! fJoe< /li> f衣'; /isu';$match='/
(.*)
preg_match_all($match,$str,$arr);
echo "";<br> print_r($arr[0]);<br> echo "";