Home All Groups Group Topic Archive Search About

I Want to Extract all URL's from HTML

Author
1 Aug 2006 6:14 AM
CrimeMaster
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.

Author
1 Aug 2006 6:54 AM
HKSHK
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

CrimeMaster wrote:
Show quoteHide quote
> 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.
>