/ Published in: PHP
Expand |
Embed | Plain Text
$validator = new Zend_Validate_Regex('/([a-fA-F0-9]{2}[:|\-]?){6}/'); $valid = $validator->isValid($mac);
You need to login to post a comment.
$validator = new Zend_Validate_Regex('/([a-fA-F0-9]{2}[:|\-]?){6}/'); $valid = $validator->isValid($mac);
You need to login to post a comment.