stripHtml() Function

Changes the provided HTML string into a plain text string by converting <br>, <p>, and <div> to line breaks, stripping all other tags, and converting escaped characters into their display values.

Syntax

striphtml( html )

html: (Text) the html text to be "stripped" of tags and converted to plain text.

Returns

Text

Examples

You can experiment with this function in the test box below.

Test Input

=stripHtml("<p>Click <b>Save</b>.</p>") returns Click Save.

FEEDBACK