title: Javascript regexp replace all <br />'s
body: <p>I'm trying to replace any <code>&lt;br /&gt;</code> tags that appear AFTER a <code>&lt;/h2&gt;</code> tag.  This is what I have so far:</p>
  
  <pre><code>Text = Text.replace(new RegExp("&lt;/h2&gt;(\&lt;br \/\&gt;.+)(.+?)", "g"), '&lt;/h2&gt;$2');
  </code></pre>
  
  <p>It doesn't seem to work, can anyone help?  (No matches are being found).</p>
  
  <p>Test case:</p>
  
  <pre><code>&lt;h2&gt;Testing&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Text
  </code></pre>
  
  <p>To:</p>
  
  <pre><code>&lt;h2&gt;Testing&lt;/h2&gt;Text
  </code></pre>