I am using the following regex to validate a password field in my JS code
^(?=.*[\p{Ll}])(?=.*[\p{Lu} ])(?=.*\d)[\p{Ll}\p{Lu}\d]{8,}$
This essentially looks out for atleast 1 uppercase and one lowercase letter .
This fails to match text like Näppäimistö from the finnish dialect.
What should I do to get this working correctly ?