日期:2014-05-17 浏览次数:20791 次
string d1 = System.IO.File.ReadAllText(@"c:\123.txt", Encoding.GetEncoding("gb2312"));
foreach (Match m in Regex.Matches(d1, @"(?is)(\d+)</a>.*?>([^<>]+)</td>.*?>([^<>]+)</span>"))
{
Response.Write(m.Groups[1].Value+"<br>"+ m.Groups[2].Value+"<br>"+ m.Groups[3].Value+"<br><br>");
}