Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel validation alphanumeric with spaces

[
    'field' => 'regex:/[a-zA-Z0-9s]+/',
]
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #validation #alphanumeric #spaces
ADD COMMENT
Topic
Name
4+2 =