using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); t.FromTo("This is a {adjective: simple | small | nice } test", "The adjective in '{@Self}' is: {adjective}."); Console.WriteLine(t.Transform("This is a test")); Console.WriteLine(t.Transform("This is a simple test")); Console.WriteLine(t.Transform("This is a small test")); Console.WriteLine(t.Transform("This is a nice test")); Console.WriteLine(t.Transform("This is a random test"));