title: How can I strip all html tags except <br> in C# code?
body: <p>What I want to do is to remove all html tags except <code>&lt;br&gt;</code> tags.</p>
  
  <p>I have made an example:</p>
  
  <pre><code>public string Strip(string text)
  {
      return Regex.Replace(text, @”&lt;(.|\n)*?&gt;”, string.Empty);
  }
  </code></pre>
  
  <p>But this one removes all. </p>
  
  <p>Any kind of help is appreciated.</p>