Wondering if someone could help with this as I seem to be having a brain fart.
The problem:
I would like to get a URL from the first cell of a row where the text presence of the third cell matches BLAH.
The HTML to search within.
Expected Result:
The link returned should be "?1111111" since "BLAH" is the contents of the third cell in that table row.
Thanks.
The problem:
I would like to get a URL from the first cell of a row where the text presence of the third cell matches BLAH.
The HTML to search within.
Код:
<table>
<tr class="row">
<td><a href="?123444">123444</td>
<td>Some info</td>
<td>Some more text</td>
</tr>
<tr class="row">
<td><a href="?111111">111111</td>
<td>Some info</td>
<td>BLAH</td>
</tr>
<tr class="row">
<td><a href="?47387483">47387483</td>
<td>Some info</td>
<td>Some more text</td>
</tr>
<tr class="row">
<td><a href="?378278321">378278321</td>
<td>Some info</td>
<td>Some more text</td>
</tr>
</table>
The link returned should be "?1111111" since "BLAH" is the contents of the third cell in that table row.
Thanks.