Password Validation In Java Using Regex With Pandas