Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t = uc.NewTransformer() '// Match two whitespace tokens and replace with one space t.FromTo("{@Whitespace}", " ") Dim messy As String = "var x = 100;" Console.WriteLine(t.Transform(messy)) End Sub End Module