getValue(); if (empty($value)) { return true; } if (!preg_match('#^[0-9a-zA-Z\_\-]+$#', $value)) { return false; } return true; } }