去除html标签

    public static string ParseTags(string HTMLStr)
    {
        return Regex.Replace(HTMLStr, "<[^>]*>", string.Empty, RegexOptions.IgnoreCase);
    }
posted @ 2011-03-03 17:02  红鲤鱼与驴与绿鲤鱼  阅读(266)  评论(1)    收藏  举报