Question: A developer from another team has asked you for help. She needs you to develop a regex script to find all phone numbers and email

 A developer from another team has asked you for help. She

A developer from another team has asked you for help. She needs you to develop a regex script to find all phone numbers and email addresses in text files. It is your task to develop a working prototype. First, all of the code should be housed in main.py and read a file called text.txt. (Don't forget to add the text.txt file to your REPLIT.) To create content for the text.txt file, copy text from any website with phone numbers and email addresses, then paste it into this file to get started. Using Python and regex, retrieve all phone numbers and email addresses in the text.txt file. Once it is working, make sure that your regex works with other text by testing additional text content. You can perform the different tests by replacing the text in the text.txt file or adding additional text files, such as text2.txt, text3.txt, etc. Develop your script using REPLIT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!