There are a number of solution for making sure your users provide a valid email address and in some cases you need to have a solution of your own. In the following example I will demonstrate how you can use Regular Expressions (RegEx)
In this tutorial we'll be bracking down the following expression.
/^([a-z0-9_\.-]+)@([\da-z-\.]+)\.([a-z\.]{2,6})$/