Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel username validation

// include a-z, 0-9 and 1 more -|_
'user' => 'regex:/^([a-z])+?(-|_)([a-z])+$/i'
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #username #validation
ADD COMMENT
Topic
Name
3+5 =