Convert MatchCollection variable into a string

I have a variable of type MatchCollection which is a collection of matches obtained from a Regex expression.
I want to convert this variable into a string so I can display it in a message box. How do I do this?

Any help would be greatly appreciated.
Thanks.

Assign Activity
arrValues | DataType: String Array =
yourMatchCollVar.Cast(Of Match).Select(Function (x) x.Value).toArray

strFlat = String.Join(" | " , arrValues)

[CheatSheet] - System.Text.RegularExpressions | RegEx - News / Tutorials - UiPath Community Forum

[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum

Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum