Package

ViewHelpers

ViewHelper Documentation

v:format.pregReplace

PregReplace regular expression ViewHeloer

Implementation of preg_replace for Fluid.

Arguments

subject string

String to match with the regex pattern or patterns

pattern string

Regex pattern to match against

replacement string

String to replace matches with

as string

Template variable name to assign; if not specified the ViewHelper returns the variable instead.

ViewHelper Resources

Schema Resources