Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

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’