Reputation: 3424
I'm creating a regexp for password validation to be used in a form.
I have tried this format
regexp[^[a-zA-Z0-9][a-zA-Z0-9@#%&]$]
but this is not working,can any one help on this
Upvotes: 1
Views: 110
Reputation: 67968
^[a-zA-Z0-9][a-zA-Z0-9@#%&.]*$
try this.This will work for you.See demo.
https://regex101.com/r/iY3eK8/4
Upvotes: 2