NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: linas@debetas.lt on November 14, 2011, 06:32:13 PM
-
Hi ,
I need to clean up ffom xhtml and html all the html language markups, leaving just a plain text.
Possible solutions to share?
Linas
-
StringTheory is probably the best way to start.
there's no "one line" command to do it, but the search/replace functions there are a good place to start.
Personally I've done it with StringTheory using the .RemoveAttributes method, then the .Replace method (but I had a limited set of tags to look for.)
cheers
Bruce
-
For the benefit of those searching this sort of thing
there is now a .removeHTML method in stringtheory