Question
Build a pattern for the word license, even if it is misspelled by mixing up the c and the s Define a pattern to find
Build a pattern for the word license, even if it is misspelled by mixing up the c and the s
Define a pattern to find the number 21 followed by a single lower- or uppercase letter
Define a pattern to find two uppercase letters in a row, followed by a single digit, followed by one lowercase letter
Build a pattern to find a number from 3 to 7:
An uppercase X, followed by any two digits
Letter X not followed by a or o:
At least one non-alphabetic character
Letter H followed by any letter from a to z
A single upper- or lowercase followed by a single digit, followed by a lowercase letter
Build a pattern to a Canadian postal code. These codes have the format letter number letter space number letter number, where all the letters are uppercase, for example, M5P 3G4
Define a pattern to find Uppercase letter H followed by zero or more lowercase letters
Define a pattern to error followed by zero or more characters, followed by code
Build a pattern to find a colon, followed by zero or more occurrences of any other characters, followed by another colon
Build a pattern to find the letters variable followed by one or more numbers
Build a pattern to match either an uppercase V or lowercase v at the beginning of the above pattern
Word color (American spelling) or colour (British spelling)
Match exactly 3 digits
Match at least 3 digits
Match 5 or fewer digits
Match 3 to 5 digits
Match any of the following words: cat, dog, bird, hamster
Match any of the following complete words: cat, dog, bird, hamster
Consider the lines below:
But remember to use these 3 digits: 76 2
There could be an error in 32variable3x
You can concatenate as well
Remember that errorcode 541 means Too many parentheses
Thats your licence to kill harlly
I know you like Harmonica, even your dog
Well now set Variable417
Build a pattern to find either 2- or 3-digit numbers
Write a regular expression that matches against hyphenated Social Security numbers.
Write a regular expression that matches URIs. Look at the IETF document RFC 3986 for the URIs generic syntax. You cannot use the regex it defines. Please illustrate your regex with some examples
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