2020年8月6日 星期四

vb.net 移除 html 的標籤 [Remove html tags]

1
2
3
4
5
6
Imports System.Text.RegularExpressions

    Function StripTags(ByVal html As String) As String
        ' Remove HTML tags.
        Return Regex.Replace(html, "<.*?>", "")
    End Function

沒有留言:

張貼留言