HTMLHelper ReplaceTagParameter Method (String, String, MatchEvaluator)Kentico 8.1 API Reference
Replaces an attribute of a specified name inside an HTML element.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

input
Type: OnlineSystem String
Element's outer HTML
attributeName
Type: OnlineSystem String
Name of the attribute to replace
evaluator
Type: OnlineSystem.Text.RegularExpressions MatchEvaluator
A custom method that examines each match and returns either the original matched string or a replacement string

Return Value

Type: OnlineString
Input text with the attribute replaced
See Also