note 61846 deleted from function.preg-match by felipe

From: Date: Mon, 10 Dec 2007 01:42:45 +0000
Subject: note 61846 deleted from function.preg-match by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133075@lists.php.net to get a copy of this message
Note Submitter: roberta at lexi dot net ---- How to verify a Canadian postal code! if (!preg_match("/^[a-z]\d[a-z] ?\d[a-z]\d$/i" , $postalcode)) { echo "Your postal code has an incorrect format." }

« previous php.notes (#133075) next »