Groups | Blog | Home
all groups > vb.net > july 2006 >

vb.net : I Want to Extract all URL's from HTML


CrimeMaster
7/31/2006 11:14:26 PM
Hi
i have stored the html of a web page into a string.And i want to
extract all the URL's and want to store them into an array of string.
plz help me if some body had write this Function pls send me the code i
will be thank full to u.

CreimeMaster.
HKSHK
8/1/2006 12:00:00 AM
Hello CrimeMaster,

Use this method:

1. Open the file for input
2. Search for "<A" and "</A"
3. Get that string and process it
4. Go to 2. until you reached the end of the file.
5. Close the file

Best Regards,

HKSHK

[quoted text, click to view]
AddThis Social Bookmark Button