I have found a number of preg_replace solutions for this problem, the closest one being this:
$string = preg_replace('/<p[^>]*>(.*)<\/p[^>]*>/i', '$1', $string);
However, this strips ALL <p> & </p> tags. How do I adjust this to ONLY strip the FIRST <p> and LAST </p> tags, even if there other such tags positioned elsewhere in my string?
Many thanks!