Here is the original regex
/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/
This will validate email properly but if I type @test.com
it was also allowed. I added {1}
/^([A-Za-z0-9_\-\.]{1})+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/
I tested this in gskinner.com and working fine. It will not allow @test.com.
But in my site, it still not working. it will still allow @test.com