直接上代码:
public string RemoveHtmlTag(string Str) { return Regex.Replace(Str, "<[^>]*>", " "); }
原文地址:http://blog.sina.com.cn/s/blog_7307f8cb0101a86g.html
Powered by: 博客园 Copyright © 2024 JmrBrvae Powered by .NET 8.0 on Kubernetes