本帖最后由 mafeifan 于 2013-11-05 15:17:29 编辑
确定文本里只包含一个PropertyImage1,要替换包含PropertyImage1的img标签
也有可能是
或
结构差不多 不管怎样替换成
要求php实现
回复讨论(解决方案)
preg_replace('#(]*src="PropertyImage1"[^>]*>)#i', '\1', $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