search engine

Hi there!I am writing a simple search engine in java. i want it to read from given urls, search for specific keywords and then return strings from the particular pages, which are to be displayed on a standard output.please help.
[249 byte] By [twendewiraa] at [2007-11-26 17:53:18]
# 1
http://www.google.com/search?hl=en&safe=off&q=search+engine+java&btnG=Search
prometheuzza at 2007-7-9 5:06:18 > top of Java-index,Core,Core APIs...