The above suggested would give only one output buddy
and if we want for multiple occurence then use MATCHES activity where in the input string mention the variable str_input after this assign
then mention the Expression with a value as "(?<=Record).*(?=The code is generated)"
and get the output with a variable named out_matches
–now use a FOR EACH activity and pass the above variable out_matches as input and change the type argument as System.Text.RegularExpressions.Match and inside the loop use a WRITE LINE ACTIVITY like this
where item is the variable from for each loop
this will display all such matching values