Click or drag to resize
RegexReplace Method (String, String)
In a specified input string, replaces all strings that match a regular expression pattern with a specified replacement string.

Namespace: System.Text.RegularExpressions
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public string Replace(
	string input,
	string replacement
)

Parameters

input
Type: SystemString
The string to search for a match.
replacement
Type: SystemString
The replacement string.

Return Value

Type: String
A new string that is identical to the input string, except that the replacement string takes the place of each matched string.
See Also