Zastąp wszystkie wystąpienia wewnątrz wzorca
Mam taki ciąg
<code>{{ some text @ other text @ and some other text }} @ this should not be replaced {{ but this should: @ }} </code>
Chcę, żeby się stało
<code>{{ some text ### other text ### and some other text }} @ this should not be replaced {{ but this should: ### }} </code>
Myślę, że przykład jest wystarczająco prosty i nie jestem pewien, czy potrafię lepiej wyjaśnić, co chcę osiągnąć słowami.
Próbowałem kilku różnych podejść, ale żadne nie działało.