Finding Links on a Webpage with Java

Posted by alan on Stack Overflow See other posts from Stack Overflow or by alan
Published on 2010-04-26T23:46:19Z Indexed on 2010/04/26 23:53 UTC
Read the original article Hit count: 145

Filed under:
|
|

Using Java have the source code of a webpage stored in a string. I want to extract all the urls in the source code and output them. I am awful with regex and the like and have no idea how to even approach this. Any help would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about java

Related posts about regex