--- title: replace --- Replaces every occurrence of an argument in a string with the second argument.
Input
```liquid {% raw %} {{ "Take my protein pills and put my helmet on" | replace: "my", "your" }} {% endraw %} ```Output
```text {{ "Take my protein pills and put my helmet on" | replace: "my", "your" }} ```