HtmlEscape(input, leaveSingleQuotesAlone, leaveDoubleQuotesAlone) Indent(str, by, indentFirstLine) ParseInt(str, default_, style, provider) Replace(str, oldValue, newValue, comparison)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: string RegexReplaceIgnoreCase(this string, string, string)Declarationpublic static string RegexReplaceIgnoreCase(
this string input,
string pattern,
string replacement
) Summary
In a specified input string, replaces all strings that match a specified regular expression
pattern with a specified replacement string. The pattern is matched using an
invariant-culture case-insensitive match. Parametersthis string | input |
The string to search for a match. | string | pattern |
The regular expression pattern to match. | string | replacement |
The replacement string. |
Returns
A new string that is identical to the input string, except that the replacement string takes
the place of each matched string. If pattern is not matched in the current instance, the method
returns the current instance unchanged. |