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
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. |