note 78355 added to function.preg-match-all
| From: | ino at osu1 dot php dot net | Date: | Mon, 08 Oct 2007 11:32:46 +0000 |
| Subject: | note 78355 added to function.preg-match-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131222@lists.php.net to get a copy of this message | ||
extract all emails from text
preg_match_all("/[-a-z0-9\._]+@[-a-z0-9\._]+\.[a-z]{2,4}/",
file_get_contents('1.txt'), $email);
print_r ($email);
----
Server IP: 69.147.83.197
Probable Submitter: 91.122.58.30
----
Manual Page -- http://www.php.net/manual/en/function.preg-match-all.php
Edit -- https://master.php.net/note/edit/78355
Del: integrated -- https://master.php.net/note/delete/78355/integrated
Del: useless -- https://master.php.net/note/delete/78355/useless
Del: bad code -- https://master.php.net/note/delete/78355/bad+code
Del: spam -- https://master.php.net/note/delete/78355/spam
Del: non-english -- https://master.php.net/note/delete/78355/non-english
Del: in docs -- https://master.php.net/note/delete/78355/in+docs
Del: other reasons-- https://master.php.net/note/delete/78355
Reject -- https://master.php.net/note/reject/78355
Search -- https://master.php.net/manage/user-notes.php