You already have the solution. Just replace the
Group
with your
Value
. Hope it will help you.
int i=0;
foreach (Match m in matches)
{
System.Console.WriteLine(m.Groups[1]);
{
ReplaceableValue = ReplaceableValue.Replace(m.Groups[1].ToString(), array[i++]);
}
}
System.Console.WriteLine(ReplaceableValue);