"I used a regular expression to find the anchors in the [HTML] document." The HTML Agility Pack [CodePlex] is a decent HTML parser though I wish we could leverage the one in Internet Explorer via MSHTML.DLL without jumping through hoops.