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

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

1 Expert Approved Answer
Step: 1 Unlock

import re text To make an appointment please notice m... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!