hi, Whats the best way to search source code to extract all links?

Heres the scenario.
I am trying to write a program that can searche an internet page and extract all the links contained within the cource code that start http://. I have used the webbrowser control to get the source code but finding it difficult to get the links!

Thanks
Mathy