111,119
社区成员
发帖
与我相关
我的任务
分享string s = "<table><tr><td>1111</td></tr><tr><td>2222</td></tr></table>";
MatchCollection mc = Regex.Matches(s, @"(?<=<tr>)[\s\S]*?(?=</tr>)", RegexOptions.IgnoreCase);
foreach (Match m in mc)
{
Console.Write(m.Value);
}