I have a html code:
<a href="localhost/1153,Test"> <img src="test.jpg">
(...)
<a href="localhost/1191,Test8"> <img src="test2.jpg">
(...)
<a href="localhost/9838,Test"> <img src="13.gif">
(...)
want to match a value before gif, in this example 9838. No matter how I try, I end up with first match (1153). How to match "backwards" from a known pattern?