using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); t.FromTo("{@StatementSeparator}", "STMT"); // Comma is not a StatementSeparator, so it should be ignored. Console.WriteLine(t.Transform("func(a, b); next();"));