Regular Expressions 101

templating regex

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

/
{{\W*((?:(?:[a-zA-Z_]\w+?(?:\[\d+\])?(?:\.[a-zA-Z_])?))+)\W*}}
/
gm

Description

not perfect, but a start double brace template

Submitted by fallen