I would to like find and replace strings within double curly brackets, inclusive of the brackets themselves.
For example:
<a href="#">{{hello}}</a>
should ideally return:
{{hello}}
I found this expression: {{(.*?)}}
here
However this only returns text between the brackets. Ie. With this expression, the example above would return: "hello"
, rather than "{{hello}}"