I m new on this field so i don't have much idea about regex
. My problem is like this
I have a "div"
within it their is a "href"
attribute and finally their is "img"
. I want a regex
to match the "img"
source content by which i can get the data of that content if the url
of that particular content matches.
<div class="test_list3">
<a href="/photo/tst_t_45288/6782/12/1/">`<img src="http://example.com/1700/tst_t_45288/m2/tst_t_45288_1.jpg" title="tst-t 1" alt="tst-t 1" /></a><br /><a href="http://example.com/1700/tst_t_45288/tst_t_45288_1.jpg" target="_blank">jpg file</a>
</div>
Any suggestions ?
` and ``) which shouldn't, properly, have closing tags. – Damien_The_Unbeliever Oct 22 '13 at 06:40