Hi i want to find a regular expression that satisfies these conditions.
(1) Passwords must be atleast 8 characters (2) it must contain atleast an upper, lower case letters, numbers, and special characters. (3) the password does not contain more than two successive identical characters.
I have a regex for the first two points ^(?=.?[A-Z])(?=.?[a-z])(?=.?[0-9])(?=.?[#?!@$%^&*-]).{8,}$
I think this regex for repetivie string is (?!(.)\1{2,})
not sure how can i combine both of them .
please help thank you so much prasanth