Replaces an attribute of a specified name inside an HTML element.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- input
- Type: System String
Element's outer HTML
- attributeName
- Type: System String
Name of the attribute to replace
- evaluator
- Type: System.Text.RegularExpressions MatchEvaluator
A custom method that examines each match and returns either the original matched string or a replacement string
Return Value
Type: StringInput text with the attribute replaced
See Also