I\'ve got an HTML:
1)TEXT THAT I ONLY NEEDsome par..
some par
I need only
Yet another approach With vanila/pure JavaScript
vanila/pure
const el = document.getElementById('element'); const elNodes = el.childNodes; let plainText = ""; for(i=0;i
1)TEXT THAT I ONLY NEED some par ..