I have below html tag in text format.
const text = '<td rowspan="3" colspan="2" class="confluenceTd">All Best <br><br></td>';
I want to extract both the text, rowspan & colspan from above i.e. All Best, 3, 2 respectivelly. Any help appreciated!!.