Creates a new RegexReplacementStringFormatter specifying the pattern to match and the replacement text. This formatter will replace all matched instances.

Namespace:  Endeca.Web.Url.Seo.Formatting
Assembly:  Endeca.Web.Url.Seo (in Endeca.Web.Url.Seo.dll) Version: 2.1.1.0 (2.1.1.0)

Syntax

C#
public RegexReplacementStringFormatter(
	string pattern,
	string replacement
)
Visual Basic (Declaration)
Public Sub New ( _
	pattern As String, _
	replacement As String _
)
Visual C++
public:
RegexReplacementStringFormatter(
	String^ pattern, 
	String^ replacement
)

Parameters

pattern
Type: System..::.String
The pattern to match in the input string.
replacement
Type: System..::.String
The text with which to replace matched instances of the pattern.

See Also