JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td class="ms-formbody" vAlign="top">
Match me
<!-- FieldName="BP number"
FieldInternalName="BP_x0020_number"
FieldType="SPFieldText"
-->
</td>
<td>Nomatch</td>
</tr>
</table>
JavaScript
$('td').filter(function(){
return $(this).html().indexOf("FieldInternalName=\"BP_x0020_number\"") > 0;
}).css('color', 'red');