Question: PYTHON REGULAR EXPRESSIONS (please answer ALL parts) Number 1 a) Find all words with length = 3 b) Find all words of length 4 to
PYTHON REGULAR EXPRESSIONS (please answer ALL parts)
Number 1 a) Find all words with length = 3 b) Find all words of length 4 to 6 characters c)Find all words that start with J d) Dollar amount with optional cents (e.g. $0.33, $784) e)Time of Day (e.g. 12:15am, 3:34pm) f) HTML headers (
to , and to ) g) Match urls only of the form http://www (Links to an external site.)Links to an external site..alphanumeric.com) h) Match an email of the form username@domain (assume that the domain might be in the form alphanumeric.alphanumeric, or alphanumeric.alphanumeric.alphanumeric)
to ) g) Match urls only of the form http://www (Links to an external site.)Links to an external site..alphanumeric.com) h) Match an email of the form username@domain (assume that the domain might be in the form alphanumeric.alphanumeric, or alphanumeric.alphanumeric.alphanumeric)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
