I have a string containing some HTML content including multiple elements that match the following scheme:
<a data-pdf-link="/path/to/the/file.pdf" class="tocPdfContainer" href="#" > Some title <i class="fa fa-download"></i></a>
Now I want to get an array which contains all of the HTML-String's <a>
-Elements so I can extract each's PDF link and title. How can I do that?