Hi Everybody My Validation Here Allow for string and numbers and dots (.)
Now i need to add - and _ to my validation how can I do it ?
'email' => 'required|string|email|unique:users|regex:/^[a-zA-Z0-9.]+@[a-zA-Z0-9.]+\.[a-zA-Z]{2,4}/'
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire