The following code using Python regex extracts the email id from given string/text
Example
import re
s ='[email protected]'
result =re.findall('[a-zA-Z0-9]\S*@\S*[a-zA-Z]', s)
print resultOutput
This gives the output
['[email protected]']
The following code using Python regex extracts the email id from given string/text
import re
s ='[email protected]'
result =re.findall('[a-zA-Z0-9]\S*@\S*[a-zA-Z]', s)
print resultThis gives the output
['[email protected]']