I want to get content from a site where i want to output some specific data. The data there looks like this:
<a itemprop="email">office@xy.com</a>
From this type of data i want to output only the email adress.
This is the Code:
<?php
$homepage = file_get_contents('https://www.xy.com/');
echo $homepage;
?>