-2

嗨,我想要这个标签的正则表达式

img src="http://cache01.g2gtoolkit.com/sites/all/themes/base_hospital_theme/css/images/loading-gif-animation.gif" width="20px" height="20px"

谁能帮我 ?

我尝试了很多东西

imgsrc="http://[^/]+/sites/all/themes/base_hospital_theme/css/images/(.*?)width=.*?
4

1 回答 1

0

你可以试试这个——

 "http://[^/]+/sites/all/themes/base_hospital_theme/css/images/([^"]*)"[\S\s]*?width

 stringified:

 "\"http://[^/]+/sites/all/themes/base_hospital_theme/css/images/([^\"]*)\"[\\S\\s]*?width"
于 2013-10-16T19:16:01.003 回答