Question: I need help writing a program in Java to recognize invalid user inputs using regular expressions. Task: Writea programt lid inputs using regular expressions. What
Task: Writea programt lid 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 domain can be combination of alphanumeric characters with a length of two or three 3. Write a method that will validate phone numbers. A phone number should be in the following format: (area 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
Get step-by-step solutions from verified subject matter experts
