不要滥用正则,这个分明是xml的语法格式。
string a = "<product>产品1</product>";
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(a);
string r = xmlDoc.SelectSingleNode("/product").InnerXml;
Response.Write(r);
string a = "<product>产品1</product>";
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(a);
string r = xmlDoc.SelectSingleNode("/product").InnerXml;
Response.Write(r);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货