I use .NET Regex Tester - Regex Storm which works with the below pattern (ignore case and multi line selected):
(?<=Range\s)([0-9].\d\d%\s\–\s[0-9]+.\d\d%).*\n(\b(?:(?!word)\w+\b\s)[0-9].\d\d%)
I have removed some grouping to get 6.00% – 10.00% as group 1and Average8.03% as group 2
Ok, If you use the matches activity with the following regex
“(?<=Range\s)([0-9].\d\d%\s\–\s[0-9]+.\d\d%).*\n(\b(?:(?!word)\w+\b\s)[0-9].\d\d%)”
Have IgnoreCase,Multiline selected in regex options.
This will give you output of 2 matches of datatable IEnumberable
You can then access each item’s group by doing a for each with Type Argument as Match.
Then add a log of item.Groups(1).ToString + " " + item.Groups(2).ToString
@TimK - am using argument type System.text.regularexpressions.match in for each @CBlanchard - have attached my workflow - please let me where am wrong.Regex_try.xaml (14.9 KB)