I want to parse an IMG tag from HTML that will always be in the same format (it's being generated by another program). The tag will always look like:
I want to parse this so I can get the src file name and the alt text.
I've been looking at examples and trying them until I have a headache...
Can anyone help me out.
Thanks in advance.
Ken
Code:
<img src="image.PNG" alt="some descriptive text">
I've been looking at examples and trying them until I have a headache...
Can anyone help me out.
Thanks in advance.
Ken