JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td class="label">Who referred you?</td>
<td class="data">somebody</td>
</tr>
<tr>
<td class="label">terms</td>
<td class="data">these are the terms</td>
</tr>
</table>
JavaScript
$("tr:contains('terms')").remove();