using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); // "ID" and ":" are Anchors. "{id}" is the Variable. t.FromTo("ID: {id}", "Found ID: {id}"); Console.WriteLine(t.Transform("ID: 12345").Text);