code to parse string to retrieve URLs

Hi all,I need a code to parse a string to get all URLs in that string. Pls help me.Thank you
[113 byte] By [fantabka] at [2007-10-1 6:24:26]
# 1
This is basic string coding. Read http://java.sun.com/docs/books/tutorial/java/data/strings.html
MartinHilperta at 2007-7-9 15:20:37 > top of Java-index,Other Topics,Algorithms...
# 2
You may also want to give a thought to Regex
Ragnvald_id2a at 2007-7-9 15:20:37 > top of Java-index,Other Topics,Algorithms...