Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I need the regex regular expression for the following, please make sure it is correct, I need to be able to test it out

Hello,
I need the regex regular expression for the following, please make sure it is correct, I need to be able to test it out online using a regex tool, to make sure it is correct and to take a screenshot. PLEASE VIEW IMAGE, PLEASE CHECK YOUR CODE IN A REGEX ONLINE TOOL BEFORE SUBMITTING ANSWER, Thanks, much appreciated. Regex details:
Starts with three numbers, either 150 or 220.
If more numbers are in front of the dash, the string is ignored.
Only five numbers after the dash. If there are more, the string is ignored.
150-34584
260-98765
22098765
220-77654
22098734
780-88452
780-9865
150-666970
220-M99667
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

Discuss and apply the decision-making process

Answered: 1 week ago