Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a regular expression that matches the following criteria: Telephone number

ID: 3402900 • Letter: W

Question

Write a regular expression that matches the following criteria: Telephone numbers in the form A complete question. The sentence should start with a capital letter and end with a question mark. Assume that the only permissible nonalphabetic characters are commas and spaces, but two commas may not be adjacent. Allow capital letters in the middle. Matches a formal name. The name may have an optional title or honorific (such as Dr. Doctor, Miss, Mr., etc.), a first name, an optional middle name or initial (initials must have a period), a last name, followed by an optional period-free designation (such as Junior or IV). The designation should be preceded by a comma. All parts of the name should begin with uppercase letters. You may assume that all words, except a middle initial, contain at least two letters.

Explanation / Answer

1 a) Regualar expression to match phone number of standard 10 digit number

telephone in the form ###-###-####

where # maens any number

The expression is

Sorry for part b) and c)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote