How to select TR inside another table

How to select TR inside another table

Hi
 
I am trying to hide a  TR that does not have id or class.
 
Example:
<table>
<tr>
<td>
<table>
<tr>
<td>
<table>
<tr>
<td>xxx</td><td class="SOMECLASS ">SOMETEXT</td>
</tr>
<tr>
<td>yyy</td><td class="SOMECLASS "></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
 
The row contains a TD with class SOMECLASS and contains some text SOMETEXT
 
I tried this:

$("tr:has(:contains('SOMETEXT').SOMECLASS)").hide();
 
My problem is that the page has many nested tables and rows containing rows, so the selector above is true for all the TR's on the page and almost the whole pages is hidden.
 
How can one change the selector to focus only on the row I am interested in?