Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t As New uCalc.Transformer() Dim text As String = "word game" t.FromTo("{token:1}", "[{@Self}]") Console.WriteLine("--- Before Remove ---") '// By default, 'word' is a single alphanumeric token. Console.WriteLine(t.Transform(text)) '// Remove the alphanumeric token definition. Dim alphaToken = t.Tokens.ByName("_token_alphanumeric") t.Tokens.Remove(alphaToken) '// The transformer must be reset with the original text for the change to apply. t.Text = text Console.WriteLine("") Console.WriteLine("--- After Remove ---") '// Now, 'word' is no longer a single token. The fallback '.' token '// matches each character individually. Console.WriteLine(t.Transform()) End Sub End Module