110,534
社区成员
发帖
与我相关
我的任务
分享
<tr>
<td>
<tr>
<td>
key sentence1
</td>
<td>
key sentence2
</td>
</tr>
</td>
</tr>
Regex reg = new Regex(@"(?isn)<td[^>]*>((?!</?td\b).)*</td>");
MatchCollection mc = reg.Matches(yourStr);
foreach (Match m in mc)
{
richTextBox2.Text += m.Value + "\n-----------------------\n";
}