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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started