0

I am a beginner to programing. I am trying to use python to create a "logon page". is there a function I can use to make sure that the email must include an @ sign and a period or else it is invalid?

  • Does this answer your question? [How to validate an email address using a regular expression?](https://stackoverflow.com/questions/201323/how-to-validate-an-email-address-using-a-regular-expression) – Nicolae Jun 19 '20 at 22:02
  • That's not a good condition. What about local email addresses? – Ted Lyngmo Jun 19 '20 at 22:02
  • Please try to do your own research before asking and then share the code that you're working with and ask for help on specific parts of it. – Unbranded Manchester Jun 19 '20 at 22:06

1 Answers1

0

You can use regular expression for this validation.

Take a look a this answer: https://stackoverflow.com/a/8022584/9921063