How to modify HTML file?

Hello!

I have what seems like a simple scenario:

  1. Download HTML file
  2. Find specific tag in HTML
  3. Change the contents of that tag
  4. Upload changes as new HTML file

I am absolutely stumped as to how to do task 3. Anyone have any clues/hints on how I can do this? I assume it might involve multiple steps and a variable, but I honestly can’t figure out how to apply any changes to the text in a variable to just the text matched by pattern.

Hi @decryption

Have a look at the text parser app

https://www.make.com/en/help/tools/text-parser

The replace module and the match pattern module could do the job.

Cheers,
Gijs

1 Like

Doh! I forgot all about the Replace module. Thanks for the reminder @ecomsilio :slight_smile:

2 Likes