I have 2 image tags, one after another
<img class="c1 c2 c3" title="Image Title 1" src="http://example.com/image-1.jpg" alt="" width="620" height="521"><img class="c1 c2 c3" title="Image Title 2" src="http://example.com/image-2.jpg" alt="" width="620" height="521">
I want a regular expression that can fetch 2 things:
- First 'img' tag
- 'src' value from first 'img' tag
How can I do it?
P.S. do someone know where I can test regular expression online