Question: Regular Expressions in Python - Write a regular expression that recognizes addresses. Assume that an address is a number (any number of digits) followed by
Regular Expressions in Python -
Write a regular expression that recognizes addresses. Assume that an address is a number (any number of digits) followed by any number of words (starting with capital letters), followed by a new-line character, followed by any number of words (starting with capital letters), followed by a comma, followed by a space, followed by two capital letters, followed by a space, followed by five digits. You just need to write the regular expression, no programming code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
