Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $file = file_get_contents("urlnya mbak");
- $file = strip_tags($file);
- preg_match_all(
- "([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|co.jp|)\b)siU",
- $file,
- $matches);
- print_r($matches);
- ?>
- :) Richie
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement