RegEx Notes

RegEx Notes

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

https://www.regextester.com/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s