I need to extract 34 from the string “1 to 34 out of 34 candidates”.
I am using "(?<=1 to) [\s\S]+?(?= out) " to extract 34 and I use “Matches” activity in UiPath to execute the same.
What I am getting is
System.Linq.Enumerable+d__97`1[System.Text.RegularExpressions.Match]