Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-03-01 07:52
Flavor·ECMAScript (JavaScript)

/
(^|[^{]){{\s*?(?<dynamicValue>[\S]+?)\s*?}}([^}]|$)
/
gm
Open regex in editor

Description

This regex can be used to get values from the valid mustache syntax i.e double floral brackets

Submitted by PranomVignesh<pranomvignesh@gmail.com>