Answers for "# extract an email ID from the text using regex"

0

# extract an email ID from the text using regex

# extract an email ID from the text using regex
Text = "This is the text which contains emails IDs . My email is [email protected]."
import re
re.findall(r"([\w.-]+@[\w.-]+)", Text)

output:
['[email protected].']
Posted by: Guest on May-02-2022

Code answers related to "# extract an email ID from the text using regex"

Python Answers by Framework

Browse Popular Code Answers by Language