Question: Question 1 - General Coding Which of the following regular expressions matches strings that contain one or more digits ( 0 - 9 ) followed

Question 1-General Coding
Which of the following regular expressions matches strings that contain one or more digits (0-9) followed by a hyphen (-) and then one or more uppercase letters (A-Z)?
For example, the regex should match the following strings:
123-ABC
99-AB
and not match:
aa-1
99
99-ab
x(1,1)-[A-Z]+$
A|d[A-7]+$|
Add (1,1)-[A-Z]$
 Question 1-General Coding Which of the following regular expressions matches strings

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!