Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

I need help writing a program in Java to recognize invalid user inputs using regular expressions. image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Temple Of Django Database Performance

Authors: Andrew Brookins

1st Edition

1734303700, 978-1734303704

More Books

Students also viewed these Databases questions