string str="wecncnc下一页";
str+="wecncnc下一页";
Regex re = new Regex(@"]+href=""(?[^""]+)""",RegexOptions.IgnoreCase);
Match m = re.Match(str);
if (m.Success)
Console.WriteLine(m.Groups["url"].Value);
str+="wecncnc下一页";
Regex re = new Regex(@"]+href=""(?
Match m = re.Match(str);
if (m.Success)
Console.WriteLine(m.Groups["url"].Value);
关键字词: