Performs bulk replace of given replacements
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- text
- Type:
System String
Text to process
- replacements
- Type:
System String
Key-Value pairs of replacements
- encode (Optional)
- Type:
System Boolean
If true, replacements are encoded
- useRegEx (Optional)
- Type:
System Boolean
If true, regular expressions are used to perform the replace
- escapeRegExSubstitutions (Optional)
- Type:
System Boolean
If true, regex special characters are escaped so the replacement value is the value of the result, not the regular expression of replace.
Return Value
Type:
See Also