Question
Not sure how to answer or do this question.. Q1. What regular expression would you use to find a credit card number? Write the regular
Not sure how to answer or do this question..
Q1. What regular expression would you use to find a credit card number? Write the regular expression below and at least two examples of a credit card number that your regular expression can match.
So for an example I have made a fake number , how do I write the regular expression?
4440 9987 9923 7783
4440-9987-9923-7783
Q2.What regular expression would you use to find a URL? Write the regular expression below and at least two examples of an URL that your regular expression can match.
www.google.com
http://www.nytimes.com
What would be the expression? Please help. Thanks
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