format.pregReplace ViewHelper <vhs:format.pregReplace> 

PregReplace regular expression ViewHelper 

Implementation of preg_replace for Fluid.

Arguments 

subject 

DataType
string
Required
false
Description
String to match with the regex pattern or patterns

pattern 

DataType
string
Required
true
Description
Regex pattern to match against

replacement 

DataType
string
Required
true
Description
String to replace matches with

as 

DataType
string
Required
false
Description
Template variable name to assign; if not specified the ViewHelper returns the variable instead.