Question: Regular Expressions Using the // delimiters, write the regular expression to match any string which begins with the word Bananas 1 # Replace ??? with

Regular Expressions

Using the // delimiters, write the regular expression to match any string which begins with the word "Bananas"

1 # Replace ??? with your regex and we will test it against the following strings: 2 # 3 # "Bananas" (matches) 4 # "Bananas are yellow" (matches) 5 # "bananas" (doesn't match - wrong case) 6 # "Three Bananas" (doesn't match - not at the beginning of the string) 7 reg = /???/

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!