Regular Expressions 101

Library entries

Get Dynamic Values from Mustache

Vote

0

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by PranomVignesh<pranomvignesh@gmail.com> - 9 months ago