I don't know programming at all! But I am using a wordpress PHP plugin, it seems use some regular expression to find and replace the HTML tags in the article.
So I meet some problems when using it, please give me some tips if you know how to solve these problems! Thank you in advance!
Question...
'Imports System.Text.RegularExpressions
Dim htmlData As String '= Whatever data from html page
Dim strippedText As String
strippedText = Regex.Replace(htmlData, "</??[^>]*>", "")
'For c# just insert goofy squiggles where necessary.
I was just needing to strip all of the html tags out of some...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.