title: Regex to match everything in a string except "<br>", "<br />", "<br />"
body: <p>I want a regex to match everything in a string except <code>"&lt;br&gt;", "&lt;br /&gt;", "&lt;br /&gt;".</code> </p>
  
  <p>Reason being, i want to put string in a container and want "<br>" tags to execute and display other tags as they are written by the user.</p>
  
  <p>For example: 
  String--> </p>
  
  <pre><code>"I have &lt;br&gt; &lt;br asked br&gt;  &lt;br /&gt;
  
  a &lt;br/&gt; &lt;h1&gt;
  
  &lt;h1&lt;br&gt;&gt;&gt;&gt;&gt;&gt;
  &lt;br&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;  question  &lt;b .  &lt;a"
  </code></pre>
  
  <p>it should return :</p>
  
  <pre><code>"I have  &lt;br asked br&gt; 
  
      a &lt;h1&gt;
  
      &lt;h1&gt;&gt;&gt;&gt;&gt;
      &gt;&gt;&gt;&gt;&gt;&gt;&gt;  question  &lt;b .  &lt;a"
  </code></pre>
  
  <p>I already have a regex to find all "br" tags which is <code>(&lt;br\ ?\/?&gt;)</code>. Just need a negation of the same.</p>