replace Modifier

Find and replace all occurrences of a string with a totally different string.

description: This cat video is the okayest thing ever.
{{ description | replace('cat', 'dog') }}
This dog video is the okayest thing ever.
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →