Filtering HTML extract for specific external links

Hi all- new to n8n and this community so please go easy!

I am trying to set up a simple workflow to understand if the external links on a particular site work and if they return the correct information.

I have done a HTML extract which returns around 250 links (mixture of internal and external)

But then I have tried various methods but cannot get it to filter only on the specific external links that start with https://links. …

  1. tried function node but it wouldn’t return anything once executed

  2. tried the filter note - at first an error message as couldn’t handle 200+ links at once

So I included split in batches of 1 node before filter but then it would return nothing.

Any ideas?

Thank you all

This is how I would do it:

Alternatively, this selector would do the same here:

a[href^="https://links"]

amazing the a[href^=“https://links”] solution so simple and worked. Thank you

Great!! Kindly mark the answer as solution then. Thank you.

Cheers!