When I add ^ in the [<] like [^<] my regexp doesnt work correctly please show me how to cut text between tags
const text = "<div>HellO</div>"
const regexp = "[^>]+[aA-zZ]+[<]"
console.log(text.match(regexp))
>Solution :
const text = "<div>HellO</div>"
const regexp = ">([a-zA-Z0-9]+)<"
console.log(text.match(regexp).pop())