title: Is there anything like hpricot or beautiful soup for php?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/292926/robust-mature-html-parser-for-php">Robust, Mature HTML Parser for PHP</a>  </p>
  </blockquote>
  
  <p>I am looking for a good way to parse and modify html documents server side in php. Beautiful soup and hpricot look like very good tools but they are not available for php. Are there any good libraries that can do this in php? Tidy appears to be partially what I am looking for, but it doesn't look like you can use selectors, etc in tidy.</p>