0 votes
in Python by

Write a reg articulation that affirms an email id utilizing the Python Language reg articulation module "re"? 

1 Answer

0 votes
by

Python Language has a standard articulation module "re." 

Look at the "re" articulation that can browse the email id for .com and .co.in subdomain. 

import re 

print(re.search(r"[0-9a-zA-Z.]+@[a-zA-Z]+\.(com|co\.in)$","[email protected]")) 

Related questions

0 votes
asked Jan 11, 2021 in Python by SakshiSharma
0 votes
asked Dec 14, 2019 in Python by sharadyadav1986
...