loosecannon1
Programmer
Hi all -
I'm having difficulties extracting the src attribute and value, for image tags, from an html page.
I looked at using substr(), but the OFFSET and LENGTH won't be consistent and I'm not knowledgeable with regexs, so I'm kinda lost...
Basically, how can I extract and store: src="/images/bulletins/customer.bmp"
from the following snippet:
<!-- CODE SNIPPET -->
Thank for the help.
If I'm unclear on anything please let me know.
<p align="left">Some paragraph text...<img alt="Some Title" src="/images/bulletins/customer.bmp" border="0"></p>
<!-- END CODE SNIPPET -->
I'm having difficulties extracting the src attribute and value, for image tags, from an html page.
I looked at using substr(), but the OFFSET and LENGTH won't be consistent and I'm not knowledgeable with regexs, so I'm kinda lost...
Basically, how can I extract and store: src="/images/bulletins/customer.bmp"
from the following snippet:
<!-- CODE SNIPPET -->
Thank for the help.
If I'm unclear on anything please let me know.
<p align="left">Some paragraph text...<img alt="Some Title" src="/images/bulletins/customer.bmp" border="0"></p>
<!-- END CODE SNIPPET -->