I'm working on a script which have to extract all a tags from a URL but not only the value from a tag, I mean all a tag code like this:
<a href="test">Text</a>
I find something with preg_match_all but this only extract the values from href, title, etc, not the entire a tag code. What should I make?
DOMDocumentin particular