我想匹配的含量研究之间的< /强> .... <强>在以下匹配html标签
“\ n <强>地址:< /强> <BR> \ nHennessy公园酒店,65%,埃本数码城市,埃本\ n <BR> \ <强>电话:< /强>(230)403 7200 <BR> \ n \ n <强>传真:< /强>(230)403 7201 <BR> \ n <强>联系人:< /强> < A HREF = “/ contact.html” >发送电子邮件< /一个> <BR> \ n \ n <p> \ n”个
有没有办法做到这一点。目前我正在使用
Match result = Regex.Match(box.InnerHtml, @"<\/strong>(.*?)<strong>", RegexOptions.ECMAScript);
但我没有得到我想要的内容。
相关:http://stackoverflow.com/a/1732454/770270 – tnw