how to get the fist tedxt content of a string of divs i9n js code example
Example: pull out only text from element javascript
function extractContent(html) {
return (new DOMParser).parseFromString(html, "text/html") .
documentElement . textContent;
}