string StrHavehtml="<html>Test Delete the <span>HTML</span> Code!</html>";

string StrNohtml=System.Text.RegularExpressions.Regex.Replace(StrHavehtml, "<[^>]+>", "");

posted on 2008-07-18 15:05  Miler  阅读(551)  评论(1)    收藏  举报