Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.64 KB

File metadata and controls

29 lines (21 loc) · 1.64 KB

Substitutions Class

HomeMethods

Namespace: Pihrtsoft.Text.RegularExpressions.Linq

Assembly: Pihrtsoft.Text.RegularExpressions.Linq.dll


Provides static methods for obtaining substitutions for a replacement pattern.

public static class Substitutions

Methods

Method Summary
AfterMatch() Returns a substitution pattern that substitutes all the text of the input string after the match.
BeforeMatch() Returns a substitution pattern that substitutes all the text of the input string before the match.
EntireInput() Returns a substitution pattern that substitutes the entire input string.
EntireMatch() Returns a substitution pattern that substitutes the entire match.
Group(Int32) Returns a substitution pattern that substitutes the last substring matched by the numbered or named group.
LastCapturedGroup() Returns a substitution pattern that substitutes the last captured group.
NamedGroup(String) Returns a substitution pattern that substitutes the last substring matched by the named group.
Text(Char) Returns a substitution pattern with a specified character.
Text(String) Returns a substitution pattern with a specified text.