stripTags

stripTags ( string html ) : string

Delete all tags in an HTML code

Example


html = 'Document title

Plain text.

Line of program code.

Continued plain text.

'
console(stripTags(html)) //-> Title of document Regular text. Line of program code. Continued plain text.

Parameters

html

with tags