Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t = uc.NewTransformer() '// without {@Stop} "end" wouldn't be a match t.FromTo("StopAt {abc} {@Stop} end", "<{abc}>") t.FromTo("end", "[The End]") Console.WriteLine(t.Transform("StopAt a b c end")) End Sub End Module