MarketplaceListingsSnippetRegex Search with GSuite

Regex Search with GSuite

Bronze Certified

Snippet

0 reviews

3

Regex Search with GSuite

Bronze Certified

Snippet

0 reviews

3


Summary

Regex search for Gmail using GSuite activity.

carouselImage0

Overview

The snippet gets the mail from the mailbox, compares the message body with the Regex search pattern and prints matching contents.

In GetMailMessages activity, Regex search pattern cannot be used. It will not return proper results. In this code, Matches activity is used to search a given Regex pattern in the body of the mails.

It can be modified further to support multiple groups in Regex search pattern, return matching contents along with email details such as from, to, cc, subject, etc.,

Benefits

Useful while searching mails with complex pattern. Any existing Regex Pattern can be used.

Published: 27 Aug 2021 | Updated: 08 Jul 2021


License

By clicking download you agree to the following license.


Code Language

Visual Basic


Runtime

.NET Core


Tags

regex
gsuite
getmail
gmail
regular expressions

Compatibility

Studio: 21.6+


Dependencies

UiPath.Gsuite.Activities



Similar Listings