摘要:
string matchMail = @"[a-zA-Z0-9]+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*[a-zA-Z0-9]"; MatchCollection matchs = Regex.Matches(pageHtml,matchMail); for (int i = 0; i < matchs.Count; i++) { mails += matchs[i].Value+"\n"; } 阅读全文
posted @ 2012-08-03 09:54
圣手小辉
阅读(810)
评论(0)
推荐(0)
摘要:
WebClient wc = new WebClient(); wc.Credentials = CredentialCache.DefaultCredentials; Byte[] pageData = wc.DownloadData(tb_url.Text); pageHtml = Encoding.Default.GetString(pageData); 阅读全文
posted @ 2012-08-03 09:22
圣手小辉
阅读(99)
评论(0)
推荐(0)