Regular Expressions 101

Community Patterns

1...456

Community Library Entry

0

Regular Expression
.NET 7.0 (C#)

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

Description

Insert "|tracks=" before the first occurrence

Submitted by anonymous - 3 years ago