Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() '// Note the change in section/div/h2 Dim t = uc.NewTransformer() Dim rule = t.Pattern("
{body}
").SetStatementSensitive(false) Dim section = rule.LocalTransformer section.FromTo("

{text}

", "

====> {@Eval: UCase(text)} <====

") section.SkipOver("&{entity};") Dim ch = section.FromTo("

{text}

", "

SELECTED: {text}

") Console.WriteLine($"Has a local transformer: {rule.HasLocalTransformer}") Console.WriteLine($"rule is a child rule: {rule.IsChildRule}") Console.WriteLine($"ch is a child rule: {ch.IsChildRule}") Dim HtmlText = "

Article One

This is the first article.

Article Two

This is the second article.

Article Three

This one is inside a <section>.

Article Four

This is the fourth article.

" t.Text = HtmlText t.Transform() Console.WriteLine(t.Text) End Sub End Module