How to Extract Regex Match n group n diynamicly

Hi,

Can you try the following expression?

resultArray = System.Text.RegularExpressions.Regex.Matches(yourString,yourPattern).Cast(Of System.Text.RegularExpressions.Match).Select(Function(m) m.Groups(1).Value).ToArray

Regards,

1 Like