# Python Program to extract email-id from URL text file

PythonProgrammingServer Side Programming

Here we are using regular expression package for extracting email-id from the URL-text file. Given the URL- text file. Using regular expression package we define the pattern of email-id then use findall() function, using this method to check the text which will match with this pattern.

Input
Output ['contact@tutorialspoint.com ','feedback@tutorialspoint.com']


## Example code

import re

['contact@tutorialspoint.com', 'feedback@tutorialspoint.com’]