I have a pattern as below
pattern='(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[-+*/%])(?=.*[.?,:;-~]).*';
what I want is at least: One Upper Case Value One Lower-Case Value One Numeric Value One of each of the characters in the last two brackets.
However, my regex is not working properly (even when I have at least one of each it shows me an error)
What is the correct form of this pattern?