c#正则表达式2
System.Text.RegularExpressions.Regex ___rx = new System.Text.RegularExpressions.Regex(@"""url"":""(?<zip>.*?)""",
System.Text.RegularExpressions.RegexOptions.Compiled | System.Text.RegularExpressions.RegexOptions.IgnoreCase | System.Text.RegularExpressions.RegexOptions.Singleline);
//"{\"needcode\":true,\"url\":\"https://pin.aliyun.com/get_img?sessionid=a42421a0b2961b71c9e39de5c52bd3e8&identity=taobao.login&type=150_40\"}"
//pageContent = CommonFunction.PostPage();
System.Text.RegularExpressions.MatchCollection ___matches3 = ___rx.Matches(pg);
if (___matches3.Count == 0)
{
SetStatus("3 没有找到 um_to!登陆失败!!!!", 0);
return -4;
}
regcheckcode = ___matches3[0].Result("${zip}");