//mailto:が使用されているメールアドレス
preg_match_all("/mailto:(.+?)"/s", $html2, $matches);
//mailto:は使用されておらず、@を基準に判別
preg_match_all('/[-.w/]+@[-._[:lower:]d]+.[[:lower:]]{2,4}/s', $html2, $matches);
…
配列 $array_exampleの要素のなかで、空白のものを削除。
$array_example = array_filter($array_example, ‘strlen’);
graffiti on the web
この投稿へのコメント
コメントはまだありません。