I have regex:Is it possible to perform a RegEx match on a string in Twig?
/([*][*])(.*)([*][*])/g
I want to get all matches of it (in {% set str = "This is **string**. **wer** qewr **234**" %})
.
SomethingI'm looking for something like this:
{% set mstring = str"This is **string**. **wer** qewr **234**" %}
{% set match = string.matches(/([*][*])(.*)([*][*])/g) %}
Is it possible?