hi Team
Error ERROR Validation Error BC30002: Type ‘Match’ is not defined. Type ‘Match’ is missing. You probably need to add an Activity Package to your workflow.
Error ERROR Validation Error BC30451: ‘RegexOptions’ is not declared. It may be inaccessible due to its protection level. Variable ‘RegexOptions’ is missing. Please use Data Manager to recreate it.
Ensure that you have imported the necessary namespaces: Verify that you have imported the System.Text.RegularExpressions namespace in your UiPath project.
For amount we can use output(0).Split({"$"},StringSplitOptions.None)(1)
For getting date the type of loan if you have a
List of available values it is better to match it as it is beside a name only like say the possible values are {"Distribution","Initiate Loan"} stored in an array arr1 then use arr1.First(function(x) output(0).Contains(x))
Now as you know the matched type value replace that from the output(0) and then extract only the name before the date to get the name value using expression .*(?=\d{2}/\d{2}/\d{4}) …In the resultant value initiate loan can be replaced as it is already identified in previous step and can get the name