Creates a new RegexReplacementStringFormatter specifying the pattern to match and the replacement text and specifying whether all instances of the matched pattern should be replaced or just the first instance.

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,
	bool replaceAll
)
Visual Basic (Declaration)
Public Sub New ( _
	pattern As String, _
	replacement As String, _
	replaceAll As Boolean _
)
Visual C++
public:
RegexReplacementStringFormatter(
	String^ pattern, 
	String^ replacement, 
	bool replaceAll
)

Parameters

pattern
Type: System..::.String
The pattern to match in the input string.
replacement
Type: System..::.String
The text with which to replace the matched instances of the pattern.
replaceAll
Type: System..::.Boolean
If true, replaces all instances of the matched pattern, if false, replaces only the first matched pattern instance.

See Also