利用客戶輸入的資料來當fb的描述時發現必須把html標籤去除...
網路上找到了個function不錯用,紀錄一下
Public Function splitHTML(ByVal Html As String) As String
Dim split As String = Html
Dim Regex As New System.Text.RegularExpressions.Regex("<[^>]+>|]+>")
split = Regex.Replace(split, "")
Return split
End Function
來源:https://dotblogs.com.tw/joysdw12/2010/11/11/19379