I'm a total newbie with preg_replace...
Basically I have a long html string and I'd like to remove from it all img tags that have Tracker.php in their SRC
ex : <img src='http://website/Tracker.php?var1=5&var2=8'>
And I have tried $ct=preg_replace("/<img[^>]+\>/i", " ", $string); to remove <img> tag from string and it's not working properly.
Thank you in advance