网页中的源代码:
<div class="t_fsz">
<table cellspacing="0" cellpadding="0">我的Regex是:
<div class="t_fsz">\r\n<table cellspacing=""0"" cellpadding=""0"">\r\n出之这篇文章http://cancait.blog.163.com/blog/static/213357442008338434958/
string i = @"Live for nothing,
die for something";//多行
Regex r3 = new Regex("^Live for nothing,\r\ndie for something$");
Console.WriteLine("r3 match count:" + r3.Matches(i).Count);//1但是一到以获取的源代码作为字符串,就是不行!