public string Tohtml(string zifu) { string noStyle = zifu.Replace(""", "\"").Replace("<", "<").Replace(">", ">").Replace(""", "\"").Replace(" ", ""); noStyle = Regex.Replace(noStyle, @"<[\w\W]*?>", "", RegexOptions.IgnoreCase); noStyle = Regex.Replace(noStyle, @"\s", "", RegexOptions.IgnoreCase); return noStyle; }