Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DQuestion 5 10 pts social security number 153 git number a hyphen, a 2-digit number, a hyphen and 4-digit number. Write a regular expression which

image text in transcribed

DQuestion 5 10 pts social security number 153 git number a hyphen, a 2-digit number, a hyphen and 4-digit number. Write a regular expression which will match a person's u name first name middle initial with a period last name followed b social security num where each of the items is separated by exactly one space. Use curly brackets to minimize the size of the regular expression. D | Question 6 10 pts Which of the following best explains what the regular expressiona-zwill match against? Ary string that starts with a lower case letter O Any string that does not start with a lower case letter Any string that corests only of non-lower case letters O Any strine that consists only of lower case letters O The empty strine DQuestion 7 10 pts We want to match any string that consists of exactly four words. Assume each word contains only lower case letters and there is a blank space between each word. We will assume there are no other characters in the words like punctuation marks. Which of the following regular expressions will match such a string without matching other strings? DQuestion 5 10 pts social security number 153 git number a hyphen, a 2-digit number, a hyphen and 4-digit number. Write a regular expression which will match a person's u name first name middle initial with a period last name followed b social security num where each of the items is separated by exactly one space. Use curly brackets to minimize the size of the regular expression. D | Question 6 10 pts Which of the following best explains what the regular expressiona-zwill match against? Ary string that starts with a lower case letter O Any string that does not start with a lower case letter Any string that corests only of non-lower case letters O Any strine that consists only of lower case letters O The empty strine DQuestion 7 10 pts We want to match any string that consists of exactly four words. Assume each word contains only lower case letters and there is a blank space between each word. We will assume there are no other characters in the words like punctuation marks. Which of the following regular expressions will match such a string without matching other strings

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions