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

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

WBOY
Release: 2016-06-13 13:52:47
Original
877 people have browsed it

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

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template