I have a list of urls that I want to extract the email or from the href or from the text. Each page has one email only.
The problem is that my list is big and can not do it manually.
<a href="mailto:EMAIL" class="spamspan">EMAIL</a>
How can I do this using PHP, regex?