How to extract numbers from mail body is there is no specific pattern? for e.g

Mailbody:

Hi,

Item numbers are 04/18 mentioned below;
21567890
43256789
1234568907
546789

regard,
abcdef

Hello,

you can use the “Matches” activity, which returns all matches of a string. So you can simply set your mail body as input and use the regex editor to find all numbers. Your regex will look like this: (\d+)

Hi, how can I print its output?

Thank you so much :slight_smile:

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