走れメロス課題3
<?php require_once dirname(__FILE__) . '/simple_html_dom.php'; $txt = file_get_html('./1567_14913.html')->plaintext; $matches = preg_split("/[。「」]/u", $txt); $line_match = preg_grep("{メロス}",$matches); print_r($line_match);