Does anyone have a vb function that will remove all html tages within a large string of data? I've tried some of the functions below but to no avail yet. Any help would be appreciated.
Code:
Function RemoveHTML(ByVal strText As String) As String
strText = System.Text.RegularExpressions.Regex.Replace(strText, "<(/?[^\>]+)>", "")
strText = strText.Replace("<", "")
Return strText
End Function