HTMLParser

Hello everyone. Can someone please tell me how to write an html parser.which classes i should use. I want to read html text and get the content of <a> tags.Thank you.
[200 byte] By [TonyPca] at [2007-10-3 5:01:00]
# 1
http://javaalmanac.com/egs/javax.swing.text.html/GetLinks.html
camickra at 2007-7-14 23:06:36 > top of Java-index,Java Essentials,Java Programming...