I am used the below code to perform the email validation. For normal condition the below code is working fine.
Question is the given email id is valid but its returning false - firstname.lastname@example.org
How to modify the above code to check this kind of email id to return true (email@example.com…)
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 firstname.lastname@example.org it is supposed to accept this kind of id also. Kindly modify this if it is wrong.
I suppose perhaps you should use preset pattern in Regex builder as the following.
BTW, “.c” is not valid domain because top level domain should be 2 or more characters.
Ok, how do i get this code?
hello it’s available in Matches Activity
Click Configure Regular Expression button in IsMatch activity as the following image.
Then Regex builder will be shown. Choose “email” in RegEx dropdown list and click save.
I could not find this option here in Matches/Is Match
Can you check the following image?
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.
The current version is not showing like what you have shown in the screenshot.
The following post might help you.