import re
c = re.compile(r'[1]+@([0-9a-z]+.)+[a-z]+$', re.I) email = '234234xxx4@qq.com' s = c.search(email) if s: print(s.group())
0-9a-z_-. ↩︎