Email Format

Hi Team,

Anybody kindly provide me a sample xaml to validate the given mail id is in correct format.

Thanks,
Robotics

@Robotics

You can use as below

use IsMatch activity and Click on Configure Regular expression -> select Advance ->below is the regex you use

^([0-9a-zA-Z]([-\.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$

Hope this helps

Thanks

1 Like

Hi,
Please find the below regular expression for email validation
”^([\w.-]+)@([\w-]+)((.(\w){2,3})+)$"

You can refer the below link

Hope it works,
Please mark as solution if it helped

ValidateEmailFormat.zip (2.1 KB)
Hi,
Please find the attached sample workflow file

Thanks Ksrinu and Venugopal, both of your coding working fine. Thanks