I searched for a solution but nothing was relevant, so here is my problem:
I want to parse a string which contains HTML text. I want to do it in JavaScript.
with this simple code you can do that:
let el = $(''); $(document.body).append(el); el.html(`titleTesttest01test02test03`); console.log(el.find('a[href="test0"]'));