Dapatkan hanya string dari html description javascript

// get only stringText from htmlText
const description_html = "<div>  all html tag  </div>"
var description_string = description_html.replace(/<\/?[^>]+(>|$)/g, "");
CodePadding