Click or drag to resize
RegexReplace Method (String, String, String)
In a specified input string, replaces all strings that match a specified regular expression 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 static string Replace(
	string input,
	string pattern,
	string replacement
)

Parameters

input
Type: SystemString
The string to search for a match.
pattern
Type: SystemString
The regular expression pattern to 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