<?php $str = "<\p>This is a good text, but it's very tedious.<\p>"; $str = preg_replace("/(?<!\.)<\/p>/", "$1.<\/p>", $str); echo $str;
You have javascript disabled. You will not be able to edit any code.