Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t = uc.NewTransformer() '// Now capture it using the {@Alpha} category t.FromTo("{@Alpha:w}", "<{w}>") Console.WriteLine("Before:") Console.WriteLine(t.Transform("1. Start-Up 'big ideas' well-knwon.")) '// Define a new token pattern for hyphenated words '// We assign it to the 'AlphaNumeric' category so it behaves like a word t.Tokens.Add("[a-zA-Z-]+", TokenType.AlphaNumeric) Console.WriteLine("After:") Console.WriteLine(t.Transform("1. Start-Up 'big ideas' well-knwon.")) End Sub End Module