Question: Using the Java Regular Expressions API, design a class that validates the format of a user input password. Specifically, you will use regular expressions to

Using the Java Regular Expressions API, design a class that validates the format of a user input password. Specifically, you will use regular expressions to validate the syntax format and length of a password set by a user.

This included ensuring the password meets specific criteria, such as:

Longer than a total of 8 characters

Contains at least 1 one the following special characters: !, @, #, $, %

Contains 1 or more numbers

Create 1 final criteria of your own design. For example, maybe the password set cannot contain the word Password.

Be sure to document in your codes comments and your project write-up.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!