using System.Text.RegularExpressions;
public static void Main()
var transactionGuid = new Guid("f60db352-deb1-4d71-b7fe-121f8700004a");
var regex = new Regex("(..)(..)(..)(..)-(....)-(....)-(....)-(.{12})");
var path = "[2]inexchange-test/Delivery/Peppol/Logs/"
+ string.Join('/', regex.Match(transactionGuid.ToString()).Groups.Values.Skip(1))
+ $"/{tryNo.ToString("D3")}/response.json";