Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Strip HTML From Text

const stripHtml = html => (new DOMParser().parseFromString(html, 'text/html')).body.textContent || ''
Source by livecodestream.dev #
 
PREVIOUS NEXT
Tagged: #Strip #HTML #From #Text
ADD COMMENT
Topic
Name
4+2 =