I need to scrape a web page using Java and I\'ve read that regex is a pretty inefficient way of doing it and one should put it into a DOM Document to navigate it.
I\
You can try jsoup: Java HTML Parser. It is an excellent library with good sample codes.