ep.stripTags()
Categories: Utilities
ep.stripTags( text )
Plugin: ep.core
Description: Remove HTML and XML tags.
-
ep.stripTags( text )
version added: 6.11.0text A HTML or XML formated string.
The ep.stripTags()
method remove all HTML and XML tags from the givn String.
-
Strip HTML.
Code:
ep.stripTags("<div>Header<span class="subheader">My Subtitle.</span>And the end.</div>");
Results:
Header My Subtitle. And the end