nord vpnnord vpn
Ad

testre

 avatar
huuductu
python
a year ago
199 B
1
Indexable
Never
import re

fileName = input()
    
myre=re.compile(r"^(\w+)(\.\w+)*@(\w+)((\.\w+)+)$")
file=open(fileName, 'r')

for line in file:
    t = myre.findall(line)
    if t:
        print(line)

nord vpnnord vpn
Ad