Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
([^\[]*)\[(.*?)\]([^\[]*)
/
gm

Description

This can be used for templating

Submitted by anonymous - 5 years ago