How to get group 1 item in regex using regex based extractor

I’m having trouble in assigning the results from Matches activity to an output argument by using item.Groups(1).ToString.Trim. It is showing the error message “option strict on disallowes late binding.”
what might be the problem?

Try item.Groups(1).Value.ToString.Trim.


Nope… Same error is showing up

What are the datatypes of out_Client_ID and MatchResults?

Change for each’s ‘Type Argument’ property to System.Text.RegularExpressions.Match.

I was getting the same error when I continued with the default ‘Object’ datatype.

You can refer the attached workflow for an example.
Main.xaml (6.1 KB)