2016年11月23日

php正则提取图片并替换

摘要: (.+?)/is';// 执行正则匹配preg_match($pattern, $dxycontent, $match);//var_dump($match[0]);//$match[0] 即为和之间的所有源码// 匹配所有的imgpreg_match_all('//i', $match[0],$matches);//带引号$new_arr=array_unique($matches[0]);... 阅读全文

posted @ 2016-11-23 11:56 飞羽哥哥 阅读(627) 评论(0) 推荐(0) 编辑

导航