title: Why use dom to parse webpages instead of regex?
body: <p>I've been searching for questions about finding contents in a page, and alot of answers recommend using <code>DOM</code> when parsing webpages instead of <code>REGEX</code>. Why is it so? Does it improve the processing time or something.</p>