$url = 'http://www.demo.com/';$page = file_get_contents($url);if (preg_match_all('@.+?@', $page, $matches)) { foreach ($matches[0] as $link) { print "$link \n"; }}?>