public static string regularExpressionsOfHTML(string TempContent)
{
//TempContent = System.Text.RegularExpressions.Regex.Replace(TempContent,"<[^>]+>",""); //任意多个
TempContent = System.Text.RegularExpressions.Regex.Replace(TempContent,"<[^>]*>",""); //匹配一个
return TempContent;
}
posted @ 2007-05-23 10:38
佳文 阅读(217)
评论(0) 编辑 收藏 所属分类:
C#网络编程