Recently, I discovered a nice trick to check the Email addresses. It uses a check on the setup of Email addresses. They must contain an @ symbol. They must contain a dot etc. It runs as follows:
import re hx = 'jaouadÂÂtaheri@hotmail.com' if not re.match(r"^[A-Za-z0-9.+-]+@[A-Za-z0-9._-]+.[a-zA-Z]$", hx): print(hx,' klopt niet Email adres ') else: print('Email ok**')