Stripping a block of HTML into JUST the images used in the IMG tags
Posted on 2006-06-10
I am looking to strip a large block of HTML into just the <IMG> tags. For example, I'd like to turn the following code:
<img src="images/top.jpg" width="100" alt="hey there!">
Hey check this out!<br>
<img src="gallery/checkthisout.jpg" width="500" border="0">
Into a list of just the image files referenced, ie.
If anyone could help me on the road to doing this, I'd be really appreciative.