Question: 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

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!