110,561
社区成员
发帖
与我相关
我的任务
分享
<div id="Cnt-Main-Article-QQ" bossZone="content">
<p class="titdd-Article">[<strong>导读</strong>]日,现年62岁的香港武侠片御用导演徐克与比他小33岁的新欢一同现身上海机场。当天徐克一身黑衣“侠气”十足,走在身后的女友则是一身潮范装扮。</p><P align=center><IMG alt="徐克与29岁新欢现身机场 女方一身潮范装扮(图)" src="http://img1.gtimg.com/ent/pics/hv1/93/25/1367/88895643.jpg"></P><P style="FONT-FAMILY: 宋体; FONT-SIZE: 10.5pt" align=center><a class="a-tips-Article-QQ" href="http://datalib.ent.qq.com/star/1149/index.shtml" target="_blank">徐克</a>与29岁新欢现身机场</P><P style="TEXT-INDENT: 2em">近日,现年62岁的香港武侠片御用导演徐克与比他小33岁的新欢一同现身上海机场。当天徐克一身黑衣“侠气”十足,走在身后的女友则是一身潮范装扮,看上去与徐克完全不是一个时代的人。</P></div>
<span style="width:0;height:0;overflow:hidden;display:block;font:0/0 Arial">正文已结束,您可以按alt+4进行评论</span>
</div>
这就是楼主需要的<div id="Cnt-Main-Article-QQ" bosszone="content" style="position: relative;">之后的第一个,对应的</div>代码,中间没有嵌套。因为没有嵌套,就不需要用平衡组。string result = Regex.Match(yourHtml,@"(?s)<div id=""Cnt-Main-Article-QQ"" bossZone=""content"">.+?</div>").Value