Octavo
Illuminator
HI all,
I am actively working on this, but I thought perhaps someone here can answer me quicker than I can learn, assimilate and produce the required regex.
I need a regular expression that will scan a html string and copy the source of any image tags into a group.
So in other words, the following html:
Should should result in 1.jpg and 2.jpg as output.
Many thanks in advance -- I'll post the answer if I get it before any replies here
(for those still scratching their heads: Regex)
I am actively working on this, but I thought perhaps someone here can answer me quicker than I can learn, assimilate and produce the required regex.
I need a regular expression that will scan a html string and copy the source of any image tags into a group.
So in other words, the following html:
Code:
<img id="img1" src="1.jpg"></img> <br> <img src='2.jpg' />
Should should result in 1.jpg and 2.jpg as output.
Many thanks in advance -- I'll post the answer if I get it before any replies here
(for those still scratching their heads: Regex)