Here are other great HTML scrapping libraries for java: TagSoup, HTMLUnit, Web-Harvest. Using a library will make it much quicker and easier then starting from scratch with your own. Next time provide some methods you have tried/looked at too