note 84060 added to function.preg-match

From: Date: Thu, 26 Jun 2008 02:48:50 +0000
Subject: note 84060 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-140822@lists.php.net to get a copy of this message
Paperweight, this pattern worked fine for me (even for intranet adresses, like "john@localhost"; and also for subdomain emails, like "john@foo.bar.com"): '/([a-z0-9])([-a-z0-9._])+([a-z0-9])\@ ([a-z0-9])([-a-z0-9_])+([a-z0-9]) (\.([a-z0-9])([-a-z0-9_-])([a-z0-9])+)*/i' but, still, this won't replace the "activation link", that is the better way to check if an e-mail is valid or not. ---- Server IP: 200.185.126.110 Probable Submitter: 189.41.108.117 ---- Manual Page -- http://www.php.net/manual/en/function.preg-match.php Edit -- https://master.php.net/note/edit/84060 Del: integrated -- https://master.php.net/note/delete/84060/integrated Del: useless -- https://master.php.net/note/delete/84060/useless Del: bad code -- https://master.php.net/note/delete/84060/bad+code Del: spam -- https://master.php.net/note/delete/84060/spam Del: non-english -- https://master.php.net/note/delete/84060/non-english Del: in docs -- https://master.php.net/note/delete/84060/in+docs Del: other reasons-- https://master.php.net/note/delete/84060 Reject -- https://master.php.net/note/reject/84060 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#140822) next »