this is my own unique html content
<div class="content-body">
<table style="text-align:center;" class="table table-bordered">
<tbody>
<tr>
<th>Text Line</th>
</tr>
<tr>
<td>1111111<br>2222222<br>3333333</td>
</tr>
</tbody>
</table>
</div>
about this issue :
var text = document.querySelectorAll('.content-body');
will display the output in the following form :
Text Line
1111111
2222222
3333333
If you aim to exclude the title line: Text Line
and only retain the resulting lines as follows:
1111111
2222222
3333333
got any solutions?