Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago