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

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

Create a regular expression that matches both of the following strings:

(216)987-1256

216-987-1256

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

Create a regular expression which matches dates in both of the following formats:

MM/DD/YY

MM-DD-YY

Create a regular expression which validates an email address and extracts the domain name@company.com

Create a regular expression which validates IP addresses. IP addresses have the following format: xxx.xxx.xxx.xxx

Remember, each octet can have a value of 0-255

Create a regular expression which extracts the client IP for a /24 network Hint: /24 has a network mask of 255.255.255.0

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!