title: Remove <br /> from inside <pre> </pre> tag
body: <p>I made simple BBCode script and it works all fine. But then later i use a javascript library to beautify my codes in <code>&lt;pre&gt;&lt;/pre&gt;</code>.</p>
  
  <p>Now the only problem I am facing that I have <code>&lt;br /&gt;</code> tags after each line of code in <code>&lt;pre&gt;&lt;/pre&gt;</code> tags.</p>
  
  <p>So the question is how could I remove the <code>&lt;br /&gt;</code> tags which <strong>ARE INSIDE</strong> the <code>&lt;pre&gt;&lt;/pre&gt;</code> tags only.</p>
  
  <p>A regex with preg_replace seems to be the thing i need but I could not find/make one to match my need. I not much good with regex. :S  </p>