Hi to check the email with Matches activity?

Hi all i need the solution for checking email address with matches activity kindly help me on the same

Hi @chandolusathi.kumar,

To check if an email address matches a specific pattern using UiPath’s Matches activity, you can follow these steps:

  1. Drag and drop a Matches activity from the Activities panel to your workflow.
  2. In the Properties panel, set the Input property to the email address you want to validate.
  3. Set the Pattern property to a regular expression that matches the email address pattern you want to validate against. For example, the following regular expression can be used to validate email addresses with the format “username@domain.com”:^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$
  4. Set the Result property to a variable that will store the output of the Matches activity.
  5. Optionally, you can set the RegexOptions property to specify any additional regular expression options you want to use.

The Matches activity will return a collection of matches that match the pattern. If the email address matches the pattern, the collection will contain one match. If the email address does not match the pattern, the collection will be empty. You can use the Count property of the collection to check if the email address matches the pattern.


Hi @ABHIMANYU_THITE1 thanks for your valuable information

I want to validate the email format having abc@test.com

So which is having.com and have any special character and contains.com

Kindly help me to get verified and get the results in Boolean output