<?php $text = '<p>test test test </p><p><img src="http://static.adzerk.net/Advertisers/f380ecc42410414693b467ac7a97901b.png" style="width: 728px;"><br></p><p>test test</p><p><img src="http://static.adzerk.net/Advertisers/f380ecc42410414693b467ac7a97901b.png" style="width: 728px;"><br></p>'; $text = preg_replace("/<img[^>]+>/", "", $text); var_dump($text);
You have javascript disabled. You will not be able to edit any code.