Home  >  Article  >  Backend Development  >  PHP正则去除采集页中的超级链接跟图片,参数如何写。

PHP正则去除采集页中的超级链接跟图片,参数如何写。

WBOY
WBOYOriginal
2016-06-13 13:52:47853browse

PHP正则去除采集页中的超级链接跟图片,参数怎么写。求助。。。
PHP正则全部去除采集页中的超级链接跟图片,参数怎么写。求助。。。

------解决方案--------------------
$patterns = '/(| PHP正则去除采集页中的超级链接跟图片,参数如何写。 )/';

$str = "sfasdfasdfsdfasd PHP正则去除采集页中的超级链接跟图片,参数如何写。 ";

print preg_replace($patterns,'',$str);
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn