Regular Expressions 101

Community Library

Community Library Entry

0

Regular ExpressionOpen Workspace

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

Description
Created·2021-03-01 07:52
Type·Match
Flavor·JavaScript

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

Submitted by PranomVignesh<pranomvignesh@gmail.com>
Open Workspace