Skip to main content

ReplaceOptions Enum

NuGet: GHIElectronics.TinyCLR.RegularExpressions
Assembly: GHIElectronics.TinyCLR.RegularExpressions
Namespace: System.Text.RegularExpressions

Options that control how a replacement is applied to matches.

public enum ReplaceOptions

Fields

NameValueDescription
ReplaceAll0x0000Replace all occurrences of the regular expression.
ReplaceFirst0x0001Replace only the first occurrence of the regular expression.
ReplaceBackrefrences0x0002Process backreferences in the replacement string.