JSFiddle - React, Tailwind, and code Playground
HTML
<div class="report-box">
<div class="title">test
<table>
<tbody>
<tr align="center" class="CellLabel">
<td colspan="2">Day at a Glance</td>
</tr>
<tr class="CellLabel">
<td>New Clients</td>
<td>00000</td>
</tr>
<tr class="CellLabel">
<td>Money Received</td>
<td>$ 0000,000.0000</td>
</tr>
<tr class="CellLabel">
<td>Overdue Invoices</td>
<td>0000000</td>
</tr>
<tr class="CellLabel">
<td>Services</td>
<td>000000</td>
</tr>
<tr align="right" class="CellLabel">
<td colspan="2"></td>
</tr>
</tbody>
</table>
</div>
</div>
JavaScript
// jQuery extension
(function($){
$.fn.extend({
removeByContent: function(str) {
return this.each(function(){
var self = $(this);
if(self.html().indexOf(str) != -1) self.remove();
});
}
});
})(jQuery);
// your script
$('.CellLabel').removeByContent('Money');