//mailto:が使用されているメールアドレス
preg_match_all("/mailto:(.+?)"/s", $html2, $matches);
//mailto:は使用されておらず、@を基準に判別
preg_match_all('/[-.w/]+@[-._[:lower:]d]+.[[:lower:]]{2,4}/s', $html2, $matches);
…
(.*?)/i”, $html, $matches) ) { //(3)
return $matches[1];
} else {
return false;
}
}
?>
参照元:http://creazy.net/2008/05/php_get_page_title_sample.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。