i have this image tag that i'm getting from a weather source that is with errors, the output is not html but wml/wap so it crashes and burns when it shows up. the image tag comes up like this:
<img alt="FACE="Monospace,Courier">LRPatches, Sky clear, Q1020</FONT><Mist, >" src="http://www.vremea.com/images/fogshow.gif" width="50" height="50"/>
and i would like it to be like this:
<img src="http://www.vremea.com/images/fogshow.gif" width="50" height="50"/>
i know i have to use preg_replace
but I cant seem to make it work, any ideas?