I need to formulate a regular expression that validates emails in python (3) ..but I am a bit lost in the topic of regular expressions ... and I have read about the care that must be taken when using them .. thank you
I need to formulate a regular expression that validates emails in python (3) ..but I am a bit lost in the topic of regular expressions ... and I have read about the care that must be taken when using them .. thank you
This brutality I took a long time ago from the English forum and is the one I use to validate my emails. It has never failed me
/^(([^<>()\[\]\.,;:\s@"]+(\.[^<>()\[\]\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$