I an currently working on a login form and I am trying to make a password field accept some conditions with a regex. The conditions are:
-Accept at least one uppercase letter and one lowercase letter
-accept at least one number
-accept at least one special character except $ % & | < > #
I am still new at coding, and for now i am using a plugin called parsley for the validations, but this is what i made by watching some tutos and using https://regex101.com/
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\$\%\&\|\<\>\#])
but at one point it starts to accept the forbidden special characters. Is there any other way to improve my regex?