Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Bought Jack McDade's course on design. Going through it now...and it is SO well done!

— Justin Jackson, Transistor.fm

regex_replace Modifier

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') }}
{{ Statamic::modify($description)->regexReplace(['best', 'okayest']) }}
This cat video is the okayest thing ever.
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →