Fetch multiple text items through RegEx

I'm trying to replicate an iOS Workflow to my KBM (I'm just beginning in KBM).

Basically, the goal is to take a credit card statement and match multiple transactions through RegEx then make a few text replacements in order to create a csv file I could import to my financial app of choice.

So I tried do the following:

But the results is only show the first hit:

How do I get around this?

Many thanks!

Hi Lucas,

The tool I would recommend for this sort of scenario is the For Each action, which is made for working with multiple similar data sets like this. Here's a version of your macro that uses it that should help get you started:

Fetch Multiple Text Items through RegEx.kmmacros (4.1 KB)
21 PM

Feel free to ask if you have any further questions!

3 Likes