Password Component on NextJs

Has a number 0 - 9

Has one or more of these special characters: !@#$%^&*

Has an uppercase letter

Has NO consecutive letters *** (Incorrect to have 3 or more consecutive letters)