I have created the following regular expression for validating my email
^[_a-z0-9-]+(\.[_a-z0-9-])+@[a-z0-9-]+\.[a-z0-9-]+$
Now the issue that I am facing with the expression is an email of the following format is also being accepted
abc_xyz@gmail
I want the regular expression to enforce that the email address should contain the ".com/info/net"
at the end , and that the above mentioned email format should be marked as invalid.
how can i achieve this