Regex find specific format of numbers in a string in email body

Hi all,

I’m trying to iterate through some emails in outlook. I want to trigger an email to send if one of the emails contains a specific format of numbers in the body. The format of numbers will look like this:

‘2020####_####’

It will always start with 2020 and the # signs will always be unique digits. The underscore and single quotation marks are also always included.

I need some help determining the regular expression to use in my is Match activity to find that. I’m a beginner and do not much have any experience with regular expressions.

Thanks!

@Luecke_Anthony
give a try on (2020\d{4}_\d{4})
here you can do some experiments with RegEx

2 Likes

Perfect, thank you!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.