Hello, I have a query, how can I decompose a variable that contains the following?
<div>
<strong>titulo aqui</strong>
<br>
<text>Texto aqui</text>
</div>
What I would like is to be able to get the contents of the strong in one variable and the content of the text in another without the html tags
var titulo = titulo aqui
var text = Texto aqui
is there any way?