Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create regular expressions to match the following patterns Long dates. Example Thursday, December 01, 2016 Short dates. Example 1-Dec-16 Date and time: mm/dd/yyyy hh:mm:ss am|pm.
Create regular expressions to match the following patterns
- Long dates. Example "Thursday, December 01, 2016"
- Short dates. Example "1-Dec-16"
- Date and time: mm/dd/yyyy hh:mm:ss am|pm. Example "12/01/2016 11:30:00 AM"
For each pattern
- Create 5 positive examples and 5 negative examples
- User your regex to check. (Your regex should match all positive examples but does not match any negative example).
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