日期:2014-05-17 浏览次数:20950 次
string str = @"<div><div style="font-family:微软雅黑; font-size:16px; word-wrap: break-word;width:756px">2012 昨天下雨了。</div><div style=" margin-left:120px"><img src="images/Events/成长历程_321.jpg" /></div></div><div><div style="font-family:微软雅黑; font-size:16px; word-wrap: break-word;width:756px">2012 今天是个好天气。</div><div style=" margin-left:120px"><img src="images/Events/成长历程_321.jpg" /></div></div>";
str = Server.HtmlDecode(str);
str = System.Text.RegularExpressions.Regex.Replace(str, @"<[^>]*>", string.Empty, System.Text.RegularExpressions.RegexOptions.IgnoreCase);
Response.Write(str);
Response.End();