Question: provide a code for Regular Expression: Given a string as below: text = To make an appointment, please notice me at xyz address 1.
provide a code for Regular Expression: Given a string as below: text = "To make an appointment, please notice me at xyz address" 1. Use regular expression, check if this string contains word "please". 2. Use regular expression, output all addresses occurred in this string.
Step by Step Solution
3.51 Rating (148 Votes )
There are 3 Steps involved in it
import re text To make an appointment please notice m... View full answer
Get step-by-step solutions from verified subject matter experts
