110,499
社区成员
发帖
与我相关
我的任务
分享
string v1 = Regex.Match(tempStr,@"(?i)<a[^>]*?href=(['""]?)([^'""]*?)\1[^>]*?>橘子</a>").Groups[2].Value;
//http://www.xxx.com/a-3.html
string v2 = Regex.Match(tempStr, @"(?i)<input[^>]*?name=(['""]?)posttime\1[^>]*?value=(['""]?)([^'""]*?)\2[^>]*?>").Groups[3].Value;
//1352046609
string v3 = Regex.Match(tempStr, @"(?i)<input[^>]*?value=(['""]?)([^'""]*?)\1[^>]*?name=(['""]?)_hexie\3[^>]*?>").Groups[2].Value;
//cn0zz