Hi,
I've built a screen scrape script that retrieves news headlines from another site.
Everything works fine with the scrape itself but i am trying to remove some unwanted image tags and the regular expressions are baffling me!
Basically the typical image tag looks like this:
<img src="/essex/images/SMLv6jkp8e0.jpg" alt="*" border=0 width=75 height=75 align=right>
the actual image name being the only differntiating factor.
what i want is a str_replace or ereg_replace line that will remove the entire image tag.
I've tried to do it using several str_replace lines which partially works.
But then i just end up with "SMLv6jkp8e0" and obviously trying to match that and not the content i want is near impossibility.
im sure it will be possible using a str_replace with some regular expressions to match the actual filename.
Thanks in advance.