Need help on finding valid email ID

Please help me to create RPA for below:
Email ID is valid or not
Criteria:

  1. Only one @ should be present
  2. After last dot(.) there should be atleast 3 characters
  3. There should not be any spaces
    Ex: abc@gmail.com then result should be true
    abc@gmail, then result should be false

Hi Ajith,

You can use Regex here.
It will work perfectly

You can use Regex to validate email and then use if condition.

/^w+[+.w-]*@([w-]+.)w+[w-].([a-z]{2,4}|d+)$/i

Thanks
@Ajith_Kumar

is there any other way rather than using regex?

Check this out.
https://go.uipath.com/component/email-validation-activity

Thanks
@josephivann

3 Likes