Regex.Matches 如何从网页中获取想要的数据
网页中有这样一个table
<table style=" height:100%;table-layout:fixed;word-break: break-all" class="QUERYGRID" id="datagrid"><tbody><tr></tr></tbody></table>
如何用一下方法获取
string Pattern2 = @"<table id=""datagrid"".*?</table>";
MatchCollection Matches2 = Regex.Matches(strResult, Pattern2);