Return to Snippet

Revision: 19016
at October 14, 2009 14:21 by gpupo


Initial Code
$validator = new Zend_Validate_Regex('/([a-fA-F0-9]{2}[:|\-]?){6}/');
 $valid = $validator->isValid($mac);

Initial URL

                                

Initial Description

                                

Initial Title
Mac Address validation on Zend Validate with regex

Initial Tags
validation

Initial Language
PHP