I would like to parse an HTML form and pull our filename's of any embedded images.
So the string could look like:
{
... random HTML content
image1.png
more random HTML content
image3.png
... }
From the above I would like to write a function in Java that returns to me {image1.png, image3.png}.
I have a regular expression that returns to me only the last image name (image3.png) but it disregards previous image names. How can I capture all of them using regex?
All / any help would be appreciated.