<?php $m = "<p>Foo<p>Bar<p>"; echo preg_replace('/<p>^$/i', '*', $m);
You have javascript disabled. You will not be able to edit any code.