title: Remove extra <br>'s from a string
body: <p>I'd like to remove unnecessary strings: <code>&lt;br&gt;</code>, <code>&lt;br/&gt;</code> and <code>&lt;br /&gt;</code> from a string, that might contain many of them in row. Example:</p>
  
  <p><code>This is a string with &lt;br&gt;&lt;br/&gt; many &lt;br/&gt;&lt;br&gt; newlines. &lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;br&gt; But it's ok &lt;br&gt; to have one!</code></p>
  
  <p>I would like it to become this:</p>
  
  <p><code>This is a string with &lt;br&gt; many &lt;br&gt; newlines. &lt;br&gt; But it's ok &lt;br&gt; to have one!</code></p>