Regex regexHtmlComment = new Regex(@"<![^>]*>", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline);
Regex regexHtmlLink = new Regex(@"<a\b[^>]+>(?<l>.+?)<*/a>", RegexOptions.Compiled| RegexOptions.IgnoreCase | RegexOptions.Singleline);
Regex regexHtmlTag = new Regex(@"<[^>]*>", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline);
text =regexHtmlComment.Replace(text, " ");
text =regexHtmlLink.Replace(text, "${l}");
text =regexHtmlTag.Replace(text, " ");