title: How to remove paragraph tag <p> with contains special word in preg_replace?
body: <p>For example i have this following code :</p>
  
  <pre><code>$string = '&lt;p&gt;i need to go to my room&lt;/p&gt;&lt;p&gt;i don't need to go to school&lt;/p&gt;&lt;p&gt;i need to study everywhere&lt;/p&gt;';
  </code></pre>
  
  <p>Now, I want to remove the paragraph that contain words 'to school'. 
  The output I want is <code>&lt;p&gt;</code>i need to go to my room <code>&lt;/p&gt;&lt;p&gt;</code>i need to study everywhere <code>&lt;/p&gt;</code></p>
  
  <p>How do i do it with preg_replace ?</p>