How to extract Access Code from email

Hello

For a more detailed response, insert the below Regex Pattern into a “Matches” activity. Write the Result out using a write line activity like this: OUTPUTVARIABLE(0).tostring
(Update the capital letters with the variable name).

Regex Pattern:
(?<=Access\sCode:\s)\d+
Preview the result here

Check out my Regex MegaPost for some more information and how to learn Regex :slight_smile:

Hopefully this helps.