110,539
社区成员
发帖
与我相关
我的任务
分享
MatchCollection matchs = Regex.Matches(webpage, singleReg, options);
int count = matchs.Count;
if (count > 0)
{
foreach (Match match in matchs)
{
//str 是一个列表:行1,行2,行3,行4,行5.................
string str = match.Groups["x"].Value;
//程序停止的时候,我记录了最后读取到这个str的第3行。
//程序再次执行的时候,如何指定从这个str的第4行开始读取?
}
}