<?php $string = '<a title="foobar" href="/php/parse-robots/" target="_parent">setting a user agent and parsing robots.txt</a>'; $doc = new DOMDocument(); $doc->loadHtml($string); var_dump($doc);
You have javascript disabled. You will not be able to edit any code.