Read more »
Welcome back to “Basic algorithms 101”. Last time we discussed about a coin toss algorithm. It was a fairly easy one. This time we are taking up a slightly more complicated one. It is, checking for the validity of an Email Address. Basically it’s an algorithm to check if the given email address is a valid one or not.
If you are a pro coder, I suggest you don’t read this because we are not going to using Regular Expressions but taking a simpler but slightly longer route. If you are a beginner and not comfortable with regular expressions, do not worry, there are other ways too. If you are among the people who have no idea what regular expressions are, I strongly recommend you look it up.