echo preg_replace('/<(\s*)img[^<>]*>/i','',$text);
Please note: JavaScript is required to post comments.