I need regex for a password that has:
- at least one non letter or digit character.
- at least one lowercase ('a'-'z').
- at least one uppercase ('A'-'Z').
I need it for HTML pattern attribute.
I tried this:
"^[a-zA-Z0-9]*$"
but it accepts only a, for example. also this:
"[A-Za-z0-9]"
accepts one character