string html = @"<div class='context' <div class='WB_detail'><div>11111111</div></div><div class='WB_detail'><div>22222</div></div><div class='WB_detail'><div>33333</div></div></div>"; Regex rx = new Regex(@"<div class='WB_detail'>(?<content>[\s\S]*)?</div></div>", RegexOptions.Singleline); Match m = null; for (m = rx.Match(html); m.Success; m = m.NextMatch()) { }
要取出三段class='WB_detail'中的内容, 应该怎么写?