PHP正则去除采集页中的超级链接跟图片,参数怎么写。求助。。。PHP正则全部去除采集页中的超级链接跟图片,参数怎么写。求助。。。[解决办法]<?php$patterns = '/(<a.*<\/a>|<img.*>)/';$str = "<a href='sdfs'>sfasdfasdf</a>sdfasd<img src='asdfas'>";print preg_replace($patterns,'',$str);?>