GoConqr has a new look! Let us know what you think.

Module 25 of 33 · Media

Validate email address

Kostas Diakogiannis

Validate email address

FO-6 Validate an email address

Write a single regular expression that validates an email address from the user. The rules are: The first part until the @ sign can contain any character, letter, digit. Special characters like the ., the $ or the  # are also accepted but only those. This part should contain at least 2 and max 50 characters.

Then follows the literal @, after this, we accept a minimum of 4 and maximum of 50 letter characters. 

Then follows the literal . 

Then for now we accept only addresses that match either com, net or org.

For example the email address:

kostas.diakogianni$23@gmail.com is accepted and valid. But not the:

kostas.diakogi@nnis23@gmail.com is not!

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?