How to keep only desired URLs from an HTML result

Hi there!

I’m building an automated system based on Bing searches.

I would like to keep only the URLs containing the expression “linkedin.com/in”.

I tried with an HTML extract node but I cannot make it do the job as I want?

What solution do you think is the best for this purpose?

Thx in advance!

  • n8n version: 0.208.0
  • Database: Default
  • Running n8n via Docker

Hi Anthony,

You could try using some RegEx in the Code node.
Here is a basic example to match “http://linkedin.com/in”

It worked perfectly! Thank you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.