(img|IMG) (.*?)(src|SRC)=('|"|\\"|)(. ?)(.jpg|.JPG|.gif|.GIF|.png|.PN"/> <(img|IMG) (.*?)(src|SRC)=('|"|\\"|)(. ?)(.jpg|.JPG|.gif|.GIF|.png|.PN">
一段PHP正则的不解
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$zz2="/\<(a|A) (.*?)(href|Href)=('|\"|\\\\\"|)(.+?)><(img|IMG) (.*?)(src|SRC)=('|\"|\\\\\"|)(.+?)(.jpg|.JPG|.gif|.GIF|.png|.PNG|.bmp|.BMP|.jpeg|.JPEG)(.*?)><\/(a|A)>/is";$text=preg_replace($zz2,"<\\6 \\7\\8=\\9\\10\\11\\12>",$text);