Question: Write a text file, regex.txt, that contains the three regular expressions required to produce the results: a) Lines that contain A or a at some
Write a text file, regex.txt, that contains the three regular expressions required to produce the results:
a) Lines that contain A or a at some index m, and Z or z at some index n, where n > m.
b) Lines consisting solely of US postal code, allowing both the five-digit and nine-digit (called ZIP+4) formats.
c) Lines containing nothing but a decimal number between 0 and 211, inclusive.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
