Don't like ads? PRO users don't see any ads ;-)
Guest

dfsd

By: a guest on Sep 24th, 2012  |  syntax: PHP  |  size: 0.39 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. $file = file_get_contents("http://search.twitter.com/search?q=gmail.com+OR+hotmail.com++OR+%22email+me%22");
  3. $file = strip_tags($file);
  4.  
  5. preg_match_all(
  6.     "([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|museum)\b)siU",
  7.     $file,
  8.     $matches);
  9.  
  10. print_r($matches);
  11. ?>