prova cosė :
codice:
$regex = '/\<img(?![^\>]*\bwidth=).*\>/iU';
echo preg_replace($regex,'',$post);
ps, č width non widht.