The typed out code is:
Imports System.Text.RegularExpressions
Private Sub OnBeforePrint(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintEventArgs)
CType(sender, XRLabel).text = Regex.Replace(Regex.Replace(Regex.Replace(CType(sender, XRLabel).text, "<[^>]+?>", ""), " ", " "), "·", "")
End Sub
Thanks!