Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Create a regular expression that matches strings that have an odd, nonzero, number of 1s followed by an even, including zero, number of 0s

1. Create a regular expression that matches strings that have an odd, nonzero, number of 1s followed by an even, including zero, number of 0s

2. Create a regular expression that matches both of the following strings: (216)987-1256 216-987-1256

3. Create a regular expression that extracts the two middle digits out of a social security number SSN in format: XXX-XX-XXXX

4. Create a regular expression which matches dates in both of the following formats: MM/DD/YY MM-DD-YY

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

Students also viewed these Databases questions