Question: please write this program in java. thank you.(using eclipse preffered) Write a program that validates entered username, password, email address, and phone number (for example,


please write this program in java. thank you.(using eclipse preffered)
Write a program that validates entered username, password, email address, and phone number (for example, 313-456-7890). Password must have at least one capital letter, one lowercase letter, one digit, one underscore character, and should contain at least 6 characters. Username might contain digits, letters (lowercase only), and underscore symbols, but no spaces in the name. Note 1: You should use regular expressions for a validation. Note 2: To check if the password have at least one digit you can use "positive lookahead" statement: (2.*[0-9])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
