How to replace part of a URL?

Hi All!

More questions from the Noob.

How could I setup a module to replace part of a URL?
Input: https://www.dropbox.com/s/kp64j50nrjer6r3/file%20%285%29.png?dl=1
Output: https://www.dropbox.com/s/kp64j50nrjer6r3/file%20%285%29.png?raw=1

Basically, change “dl” to “raw”.

Thanks thanks thanks!

Hi. Use replace function:

{{replace(“file (5).png”; “dl=”; “raw=”)}}

If you need additional support, please don’t hesitate to reach out.

Cheers
//Helio

{{replace(“URL HERE”; “dl=”; “raw=”)}}

1 Like