- file_get_contents: documentation ( source)
- print_r: documentation ( source)
- preg_match_all: documentation ( source)
- sprintf: documentation ( source)
<?php
$data = file_get_contents('http://tv-series.me/');
preg_match_all ("/<div class=\"entry-content\">([^`]*?)<\/div>/", $data, $matches);
//testing the array $matches
echo sprintf('<pre>%s</pre>', print_r($matches, true));
?>