Skip to content

Filed under Statamic

Statamic Plugin: Replace

Porting a familiar ExpressionEngine text replacement plugin to Statamic, minus one parameter.

I noticed a lack of any text replace plugins for Statamic so I ported Low's ExpressionEngine plugin Replace over.

This plugin shares all the same features that Low's plugin has except for the multiple parameter. When I tried allowing it, it threw errors. If you can fix it, feel free to make a pull request.

The plugin is available in the Statamic addon directory. It takes a string, a search value and a replacement value, then returns the updated string in the template.