<?php $paragraph = "<p>With na level of</p><p>bloot hdad fis g gks fsd faf eghejfke jgjeg</p>"; var_dump(preg_replace('/<\/p>$/', '<em>EMEMEMEMEMEM</em></p>', $paragraph));
You have javascript disabled. You will not be able to edit any code.