Function Highlight(Search_Str as String, _
InputTxt as String, _
StartTag as String, _
EndTag as String) As String
Dim ResultStr As String
Return Regex.Replace(InputTxt, "\b(" & Regex.Escape(Search_Str) & ")\b", _
StartTag & "$1" & EndTag, RegExOptions.IgnoreCase)
End Function