Modifier: regex_replace


Run a find and replace regex on a string of content.

description: This cat video is the best thing ever.
{{ description regex_replace="best|okayest" }}
This cat video is the okayest thing ever.

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016