Categories
Coding

Strip HTML Tags from a String

Private Function ConvertHtmlToPlainText(ByVal htmlText As String) As String
Return Regex.Replace(htmlText, "<[^>]*>", String.Empty)
End Function

Leave a Reply

Your email address will not be published. Required fields are marked *