On this post I will add my relevant work notes on regEx, here is the first cool examples on input email validation :
To Test a Email Validation Regex :
See this one : /^([A-Z|a-z|0-9](\.|_|-){0,1})+[A-Z|a-z|0-9]\@([A-Z|a-z|0-9](\.|_|-){0,1})+((\.){0,2}[A-Z|a-z|0-9]){0,1}\.[a-z]{1,5}$/;
Test Various emails e.g.
sumit@abc.io
sumit@ajax.info
sumit@qmpr.co
sumit@z.com