1 public static string FilterHTML(string HTMLStr)
2         {
3             if (!string.IsNullOrEmpty(HTMLStr))
4                 return System.Text.RegularExpressions.Regex.Replace(HTMLStr, "<[^>]*>|&nbsp;", "");
5             else
6                 return "";
7         }

 

相关文章: