I completely suck when it comes to regular expressions....was hoping someone could help me out.
I have a html file in a string...
need to find
<IMG SRC="/icons/ecblank.gif" BORDER=0 HEIGHT=1 WIDTH=1 ALT="">
and basically completely erase it (or just replace it with spaces)
I tried to create one on my own, with bad results
$htmlstring is the var that contains my html page.
$icon_replace = "";
preg_replace("/<IMG SRC=\"\/icons(.*)\">/", $icon_replace, $htmlstring);