Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
.NET 7.0 (C#)

@"
(?<=\{\{mecha.*?\}\})(?<!\{\{track.*?\}\})(\{\{track)
"
gm

Description

Insert "|tracks=" before the first occurrence

Submitted by anonymous - 2 years ago