///
///
public static string LostHTML(string Str)
{
string Re_Str = "";
if (Str != null)
{
if (Str != string.Empty)
{
string Pattern = "<///*[^<>]*>";
Re_Str = Regex.Replace(Str, Pattern, "");
}
}
return (Re_Str.Replace("http://r//n", "")).Replace("http://r", "");
}
以上代碼都是錯新技術頻道小編為大家搜集的asp.net去除html的函數代碼,希望對大家的學習有一定的幫助!
新聞熱點
疑難解答
圖片精選