Question is the given email id is valid but its returning false - a@a.c
How to modify the above code to check this kind of email id to return true (a@a.c…)
This regex pattern seems not good for email address validation. Does this work in your environment actually?
Or it might have been partially changed by forums function.
no i am development under progress with this code but in unit test it fails for the email id a@a.c it is supposed to accept this kind of id also. Kindly modify this if it is wrong.
The current version is not showing like what you have shown in the screenshot. But in may home pc its like what you shown, thanks for the info its working fine.