摘要: /** * php 提取html中图片并替换 */ //要替换的内容 //提取图片路径的src的正则表达式 $match_str = '/(<img([^>]*)\s*src=(\'|\")([^\'\"]+)(\'|\")|url.*\(https:.*=png\))/'; preg_match_ 阅读全文
posted @ 2020-01-15 14:08 phpwyl 阅读(488) 评论(0) 推荐(0) 编辑