Question: I need help writing a program in Java to recognize invalid user inputs using regular expressions. Task: Write a program that will recognize invalid inputs

I need help writing a program in Java to recognize invalid userI need help writing a program in Java to recognize invalid user inputs using regular expressions.

Task: Write a program that will recognize invalid inputs using regular expressions. What will the application do? The program will validate different kinds of input. . Build Specifications 1. Write a method that will validate names. Names can only have alphabets, they should start with a capital letter, and they have a maximum length of 30 2. Write a method that will validate emails. An email should be in the following format: (combination of alphanumeric characters, with a length between 5 and 30, and there are no special characters)@(combination of alphanumeric characters, with a length between 5 and 10, and there is no special characters Adomain can be combination of alphanumeric characters with a length of two or three the following format: farea code of 3 digits (3digits) 14 digits) 4. Write a method that will validate date based on the following format

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!