note 15712 deleted from ref.regex by jimw

From: Date: Sat, 03 Nov 2001 02:28:41 +0000
Subject: note 15712 deleted from ref.regex by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20337@lists.php.net to get a copy of this message
hello, it seems, that you have error in your email validation. your validation is agreed with "someone@somewhere". Ant it disagreed with "someone@somewhere.somehow.com" My version is based on yours, but with little changes: eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[_a-z0-9-]+(\.[_a-z0-9-]+)*(\.([a-z]{2,3}))+$",$email) Have any comments? post it here plz GL, Vladimir A. Lanev

« previous php.notes (#20337) next »