using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); t.FromTo("word", "WORD"); // Rule to uppercase 'word' t.SkipOver("({ignore})"); // Rule to ignore content in parentheses var text = "transform this word, but (not this word)"; Console.WriteLine(t.Transform(text));