Click or drag to resize
CMSRegexReplace Method (String, String, Boolean)
Replaces the specified pattern within the given input with the given replacement

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax
C#
public string Replace(
	string input,
	string replacement,
	bool allowSubstitutions = true
)

Parameters

input
Type: SystemString
Input string
replacement
Type: SystemString
Replacement
allowSubstitutions (Optional)
Type: SystemBoolean
If set to false, substitutions are not allowed within the replacement string

Return Value

Type: String
See Also