111,129
社区成员
发帖
与我相关
我的任务
分享Html = Regex.Replace(Html, "d+", "");
我也是服了
[/quote]
我不是都写给你看了吗
string Url = "http://weibo.com/u/3902916195?profile_ftype=1&is_all=1#_0";
HttpWebRequest webRequest3 = (HttpWebRequest)WebRequest.Create(new Uri(Url));
webRequest3.CookieContainer = cook;
HttpWebResponse response3 = (HttpWebResponse)webRequest3.GetResponse();
StreamReader sr3 = new StreamReader(response3.GetResponseStream(), Encoding.UTF8);
string Html = sr3.ReadToEnd();
Html = Regex.Replace(Html, "d]", "]");
//Html = Regex.Replace(Html, "d+", "");//这样写就把d全部去掉了
Html.Replace("d+", "");
string p = Regex.Unescape(Html);