嗨我想要这个标签的正则表达式
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=.*?
答案 0 :(得分: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"