Question: This is a JavaScript 2 question for course INFO 2134 I never received the correct answers for this assignment 5. What do you put in

This is a JavaScript 2 question for course INFO 2134

I never received the correct answers for this assignment 5. What do you put in the "Your Regular Expressions" box?

TASK 2: REGULAR EXPRESSIONS

Objective 5D; 12 points (4 points per term, partial credit may be awarded for item)Using your textbook and online references such as RegularExpressions.info (https://regular-expressions.info CTRL+Click on the link to open in your browser), create Regular Expressions in Table 2 below.

Requirement Test String

Your Regular Expressions

Match all instances of grey or gray within the test string to the right: - The pattern should not be case-sensitive. - The pattern should identify 3 matched items in the pattern to the right.

Gray Greyson found a gravy boat on the table full of gray paint. The paint had been used to spell the phrase, Grei you will die!
Match any string that begins with The - The pattern should not be case sensitive - The pattern should be multi-line - The pattern should return 2 matches.

The rain in Spain falls mainly on the plains. Plains, not grains monsieur!

The grains in Spain fall mainly on the plains?
Match all the digits in the test string: - The pattern should return 3 matches

Jose intended to pay Maria $450; however, when he looked in his wallet, Jose suddenly found he had two pennies and a bent dime.

Match any string that begins with bu followed by two instances of n (e.g., Bunnies but not Bunsen). - The pattern should be case insensitive - The pattern should return all matches and not stop after the first match.

- The pattern cannot be Bunn or bunn - The pattern should return 1 match

Bunnies burn bunions on Bunsen burners, rights?

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!