我正在尝试在C#中刮整个div元素...
我已经尝试过了, div class="txt-block"\s*(.+?)(\r\n?|\n)\s*"
但是它并没有刮擦整个:(有什么想法吗?
<div class="txt-block" itemprop="creator" itemscope itemtype="http://schema.org/Person">
<h4 class="inline">Writers:</h4>
<a href="/name/nm1318843/?ref_=tt_ov_wr" itemprop='url'><span class="itemprop" itemprop="name">Mark Fergus</span></a> (screenplay),
<a href="/name/nm1319757/?ref_=tt_ov_wr" itemprop='url'><span class="itemprop"
itemprop="name">Hawk Ostby</span></a> (screenplay), <a href="fullcredits?ref_=tt_ov_wr#writers" >6 more credits</a> »
</div>
Run Code Online (Sandbox Code Playgroud)