求去除div标签
PHP, 抓取网页源码后,把所有DIV标签去除掉, 正则表达式怎么写?
比如
这样的标签去掉
------解决方案--------------------上面还欠缺。更正:
echo preg_replace('#]*>#is','',$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