Hallo, I want to extract these C and P numbers from the body of the email, they are categorized like that how can I use regex and flowchart so that the bot can extract anyone of these if they are on the body of the email:
For example, anything that has a pattern of AAH/AHPM , take that as a C number and so on. I want to use flowchart not nested IF condition as it may get complex …
Please see below:
1 Like
C Number Regex: AAH/\w+|AHPM/\w+
P Number Regex: AAP/\w+|AHPP/\w+
Use Regex Matches activity with emailBody
as input and the pattern. Access result like: matches(0).ToString
.
If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath
1 Like