note 58765 rejected from function.eregi-replace by betz

From: Date: Tue, 15 Nov 2005 14:00:35 +0000
Subject: note 58765 rejected from function.eregi-replace by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-98589@lists.php.net to get a copy of this message
Note Submitter: rthak at hotmail dot com ---- I have thwe following script to restrict email addresses to those ending in .ac.uk. however, the following does not work rahul@sthildas.ox.ac.uk whereas rahul@ox.ac.uk. (it seems two things after the @ and before the .ac.uk are not accepted. What am I doing wrong? ^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+([\.]ac[\.]uk)+$

« previous php.notes (#98589) next »