I want to display error message if user enter three dots likesteve@gmail.com.co.nz
so after .co
if user use .nz
Error should be thrown because user has already entered two dots.
Below is my Email validation which i am using right now
var EmailValid = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9.-]+[A-Za-z0-9'\.\-\s\,\#\]*(\\.[A-Za-z]{2,3})$";
Any idea how to do that?