- 博客(16)
- 收藏
- 关注
原创 google
string address = "http://www.google.com/search?q="; string hello = "Hello, Internet"; WebRequest myReq = WebRequest.Create(address + hello); WebResponse myResponse = myReq.GetR
2005-03-27 14:44:00
730
原创 HTTP POSTs and HTTP GETs with WebClient and C# and Faking a PostBack
http://www.hanselman.com/blog/PermaLink,guid,43e49ec8-1fa7-44c1-8177-42cd4fead8db.aspx
2005-03-27 14:41:00
875
原创 other use google search
The example simply takes a string that you want to search on http://www.google.com/ for and then displays the first five results that comes back. Nothing major but it does show an ever so slightly mor
2005-03-27 14:39:00
916
原创 use google
using System; using System.IO; using System.Net; using System.Text.RegularExpressions; namespace Scraper { class GoogleHit { private static string REGEX_PAT = @"(.*?)(.*).*?/s+-/s+(/d+/w)/s+.*?Cached.
2005-03-27 14:37:00
996
原创 How to use HttpWebRequest to send POST request to another web server?
How to use HttpWebRequest to send POST request to another web server?要提交象以下格式的表单:action="https://www.paypal.com/cgi-bin/webscr" method="post">border="0" name="submit" alt="Make payments with PayPal!">
2005-03-26 23:10:00
1489
原创 网页中自动点击他方网站上的按钮
主 题:极度难题:如何实现从网页中自动点击他方网站上的按钮?作 者:JackShine (阳杰) 等 级: 信 誉 值:97所属论坛:.NET技术 ASP.NET问题点数:100回复次数:11发表时间:2003-11-18 22:44:40Z我已经用HttpWebRequestHttpWebResponse实现从他方网站上自动登录,自动获取数据.但有些网页有几个按钮,需要
2005-03-25 21:57:00
2983
1
原创 正则表达式问题征集
想请问一个关于正则表达式的问题可否再一个匹配项中在此搜索?如: (可能在网页中出现很多次) (可能在网页中出现很多次,但未必出现在中,就是在中位置也不定 123 456 (可能在网页中出现很多次,但未必出现在中,就是在中位置也不定 789 我的目的是找到所有的 的匹配项,然后获得如示例所示的之间的值,本例返回值为123456,对于不在中的则进行忽略特别声明:为
2005-03-25 21:47:00
726
原创 正则表达式
http://www.regexlib.com/DisplayPatterns.aspx?cattabindex=5&categoryId=5
2005-03-25 13:11:00
607
原创 html Extracting the Text
Parsing the HTML DocumentNow that we have a way to populate the class, let’s take a look at making sense of what’s there. If you’re not familiar with Regular Expressions, you will have need to look th
2005-03-24 23:32:00
990
原创 preg_replace -- 执行正则表达式的搜索和替换
preg_replace(PHP 3>= 3.0.9, PHP 4 , PHP 5)preg_replace -- 执行正则表达式的搜索和替换说明mixed preg_replace ( mixed pattern, mixed replacement, mixed subject [, int limit] )在 subject 中搜索 pattern 模式的匹配项并替换为 replacemen
2005-03-24 23:11:00
13047
原创 ClearHTMLTags
[ClearHTMLTags] Coded by J骽ann Haukur Gunnarsson joi@innn.is Purpose: This function clears all HTML tags from a string using Regular Expressions. Inputs: strHTML; A string to be cleared of HT
2005-03-24 23:07:00
1041
原创 HTMLContentParser ASP.NET Project using VB.NET
This project I post today really has not much of a practical or functional value to anyone. (alto I think they are pretty cool to web designers and developers. I am sure there will be detractors out t
2005-03-24 15:59:00
934
原创 Using Regular Expressions
http://www.dotnet247.com/247reference/a.aspx?u=http://www.4guysfromrolla.com/webtech/chapters/ASPNET2/ch02.3.shtml
2005-03-24 15:46:00
818
原创 c#HTML转TEXT
http://search.csdn.net/Expert/topic/1987/1987654.xml?temp=.4589044
2005-03-24 13:52:00
865
原创 C#如何读取post方式的网页的HTML代码?
http://search.csdn.net/Expert/topic/1374/1374346.xml?temp=.4441645
2005-03-24 10:45:00
1090
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人