vendredi 4 août 2017

Avoid entering white space in regex password Laravel 5.4

I am trying Regex Strong Password.

My regex is below. Works perfectly for below features.

Min 1 Digit
Min 1 Lower char
Min 1 Upper char
Min 1 Special char
Min 8 chars
Max 15 chars

^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w]).{8,15}$

Can somebody suggest to avoid entering white spaces?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2wtqNcu
via IFTTT

Aucun commentaire:

Enregistrer un commentaire