以下是引用片段:
  -----

public partial class 去掉HTML标记_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Label1.Text = "<BR>测试|<BR>测试|<BR>测试|<BR>测试|";
    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        this.Label1.Text = Regex.Replace(this.Label1.Text, @"<[\/\!]*?[^<>]*?>", "");
    }
}