Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel request password validation rule

'password' => ['required', 
               'min:6', 
               'regex:/^.*(?=.{3,})(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[dx])(?=.*[!$#%]).*$/', 
               'confirmed']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #request #password #validation #rule
ADD COMMENT
Topic
Name
3+2 =