replace_last v10.2.0 Replaces only the last occurrence of the first argument in a string with the second argument. Input 1{{ "Take my protein pills and put my helmet on" | replace_last: "my", "your" }} Output 1Take my protein pills and put your helmet on