Special Characters Not Allowed Validation in Laravel 5.8

 let’s see example of laravel validation no special characters.

Example -1

use this code for validation:-
 ‘name’ =>  ‘required|regex:/^[a-zA-Z]+$/u’

Example:2-

Use this code for validation:-
 ‘applyjobsforuser’ => ‘required|unique:applyjobs,applyjobsforuser’,

Example-3

use this code for Spacial characters validation
 ‘message’ =>  ‘required||regex:/^[a-zA-Z]+$/u’

Total Page Visits: 159 - Today Page Visits: 1