Simple string replacements.
Place pi.replace.php
in _add-ons/replace/
.
Single replacements:
{{ replace find="Jason" replace="Jack" }}
Hello there Jason
{{ /replace }}
=> Hello there Jack
Multiple replacements:
{{ replace find="Hello|Jason" replace="Hi|Jack" }}
Hello there Jason
{{ /replace }}
=> Hi there Jack