Regular Expressions 101

Community Patterns

1...34567...15

Match token and optional convert to type in string

0

Regular Expression
.NET 7.0 (C#)

@"
\${([\w.]+)*(?::([\w]+))?}
"
gm

Description

I use this in a JSON template together with JObject data to create a JSON string

Submitted by rkleinkromhof - 2 years ago