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’
MotoShare.in is your go-to platform for adventure and exploration. Rent premium bikes for epic journeys or simple scooters for your daily errands—all with the MotoShare.in advantage of affordability and ease.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals