title: strip out <p> tags which is inside another tag
body: <p>I need to strip out <code>&lt;p&gt;</code> tags which is inside a pre tag, How can i do this in php?  My code will be like this:</p>
  
  <pre><code>&lt;pre class="brush:php;"&gt;
  &lt;p&gt;Guna&lt;/p&gt;&lt;p&gt;Sekar&lt;/p&gt;
  &lt;/pre&gt;
  </code></pre>
  
  <p>I need text inside <code>&lt;p&gt;</code> tags, need to remove only <code>&lt;p&gt;</code> <code>&lt;/p&gt;</code> tag.</p>