Hey All - I'm trying to write a script that will fetch a webpage and then find and extract all of the URLs and print them out. I can get the website easy enough, but i'm wondering how I would go about finding the strings and storing them for print out? I'd like it to search for http:// and then take the string from the http:// to the .com, .net, or .org. That way redirect URLs won't be a problem, like they would if I was searching for <a href=.
Thanks!
Joe