Package

ViewHelpers

ViewHelper Documentation

v:format.regularExpression

Formats or gets detected substrings by regular expression. Returns matches if return="TRUE", otherwise replaces any occurrences of $pattern. simply returns

Arguments

pattern string

The regular expression pattern to search for

replacement string

The desired value to insert instead of detected matches

subject string

The subject in which to perform replacements/detection; taken from tag content if not specified.

return boolean

ViewHelper Resources

Schema Resources