using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); t.FromTo("abc", "changed to xyz"); t.FromTo("Quote1({arg})", "'{arg}'"); t.FromTo("Quote2({arg%})", "'{arg}'"); Console.WriteLine(t.Transform("Quote1(abc), Quote2(abc)"));