Regex für Schnurrbart-Doppelspangen?
Ich verwende Schnurrbart-Tags in AngularJS. Was ist der beste Regex, um ein Array von zurückzugebengerade der Text in den Schnurrbartklammern?
Beispieldaten:
"This could {{be }} a {{ string.with.dots_and_underscores }} of {{ mustache_style}} words which {{could}} be pulled."
Erwartete Ausgabe:
['be','string.with.dots_and_underscores','mustache_style','could']