title: C# How to delete XML/HTML comments with regular expression
body: <p>The fragment below doesn't work for me. </p>
  
  <pre><code>fragment = Regex.Replace(fragment, "&lt;!--.*?--&gt;", String.Empty , RegexOptions.Multiline  );
  </code></pre>