Regular Expressions 101

Community Patterns

Match using named groups in .NET (C#)

0

Regular Expression
.NET 7.0 (C#)

@"
(?<remotename>\w*)(?<seperator>\/)(?<branchname>\w*)
"
gm

Description

Developed for posh-git

Submitted by marckassay - 2 years ago