title: php remove first <p> and last </p> tags from string
body: <p>How to remove first <p> and last </p> tags from string??
  example string:</p>
  
  <pre><code>$string = "&lt;p&gt;text text&lt;br&gt;text&lt;p&gt;text&lt;/p&gt;&lt;/p&gt;";
  </code></pre>