Returning HTML response for few selectors

Hi All! I am dealing with one API which returns HTML in response. I am trying to make a collection for running a collection from where I can get response values for a few selectors in HTML. I am a bit confused about how to work on the same. Please find a sample HTML response.

<td class="error">OPEN</td>
<td>04/21/22 07:48:02 AM</td>

I would like to capture all the child td elements value succeeding td class “error” where text is OPEN.