Title |
Test
Find
Pattern Title
|
Expression |
<img .+ src[ ]*=[ ]*\"(.+)\" |
Description |
Gets the image url in an HTML <IMG> tag. |
Matches |
<img src="test.jpg"> | <img align = "left" src = "test.jpg"&g |
Non-Matches |
unknown |
Author |
Rating:
Not yet rated.
Judah Himango
|
Source |
|
Your Rating |
|
Title: Thanks
Name: Judah Himango
Date: 9/20/2005 2:20:21 PM
Comment:
Sebastian,
Thanks for the comments, glad it could help you.
FYI, I've found this has not work on certain embedded images, I've yet to find one that works on all.
Title: Good!
Name: sebastian nielsen
Date: 9/20/2005 1:47:30 PM
Comment:
This was EXACTLY what i needed.
I had problems with extracting a URL from an image tag to modify it, because im building a CGI proxy server, and i must modify all <img src=http://www.google.se/image.jpg> to <img src=http://www.sebpage.no-ip.com/$ENV{'script_name'}?adress=$1