NaviServer - programmable web server

[ Main Table Of Contents | Table Of Contents | Keyword Index ]

ns_striphtml(n) 4.99.19 naviserver "NaviServer Built-in Commands"

Name

ns_striphtml - Remove HTML tags from a string

Table Of Contents

Synopsis

Description

Returns the contents of html with any HTML tags removed. This function replaces as well all known HTML4 named entities and three digit numeric entities by its UTF-8 representations and removes HTML comments.

COMMANDS

ns_striphtml html

EXAMPLES

   % ns_striphtml "<MARQUEE direction='right'><BLINK>Hello World!</BLINK></MARQUEE>"
   Hello World!

Keywords

HTML, global built-in