C#替换HTML标签

public string RemoveHtml(string str)
    {
        string temp = Regex.Replace(str, "<[^>]*>", "");
        temp = temp.Replace(" ", " ").Replace("&#8221;", "”").Replace("&#8220;","“");
        return temp ;
    }
原文地址:https://www.cnblogs.com/94cool/p/1552632.html