Unable to run multiple matches activies in a for each loop


I’m trying to loop through an array and I need to find dates and amounts with regex. I’m using two matches activities inside for each (item in array).

Steps to reproduce:

-for each(item in array)
->matches(output: B)
->Write line(A(0) + " " + B(0)

Current Behavior:

Writes nothing to output or only A or B

Expected Behavior:

Writes A B to console

Studio/Robot/Orchestrator Version:


Last stable behavior:-
Last stable version:-
OS Version:Windows 10
Others if Relevant: (workflow, logs, .net version, service pack, etc):