$filter = array( 'user-id-old' => array( 'filter' => FILTER_VALIDATE_REGEXP, 'options' => array('regexp' => '/[a-zA-Z][a-zA-Z0-9_]*/') ) );
'/[a-zA-Z][a-zA-Z0-9_]*/'
'/^[a-zA-Z][a-zA-Z0-9_]*$/'
No comments:
Post a Comment