I want to validate educational email only for example [janedoe@edu.com,DS@Seattleu.edu]
Thanks….
>Solution :
This might work for you –
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.+-]+\.edu$
Breaking down RegEx in simpler notation:
^ Beginning of string
[a-zA-Z0-9._%+-]+ one or more letters, numbers, dots, underscores, percent-signs, plus-signs or dashes
@ @
[a-zA-Z0-9.+-]+ one or more letters, numbers, dots, plus-signs or dashes
\.edu .edu
$ End of string