using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); // Match a word (Alpha) followed by equals and a Number (Literal) t.FromTo("{@Alpha} = {@Number}", "Assignment Detected"); Console.WriteLine(t.Transform("x = 10"));