How to find an email address using regex and considering mailto:
as a flag. I tried with an expression but it only parses a small portion.
import re
html_content='''
<p><a href="mailto:info@mohindraroto.com">info@mohindraroto.com</a></p>
'''
row = re.findall(r'mailto:(\w*.)',html_content)[0]
print(row)
It gives me:
info@
Any help to modify my existing expression or create a new one for the sake of finding email will be highly appreciated.