.match email regex code example
Example 1: regular expression for email
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Example 2: email regex
[\w._%+-]+@[\w.-]+\.[a-zA-Z]{2,3}
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
[\w._%+-]+@[\w.-]+\.[a-zA-Z]{2,3}