ho una stringa che è come questosostituire tutte le occorrenze all'interno modello
{{ some text @ other text @ and some other text }} @ this should not be replaced {{ but this should: @ }}
voglio che diventi
{{ some text ### other text ### and some other text }} @ this should not be replaced {{ but this should: ### }}
Credo che l'esempio è dritto abbastanza in avanti e io non sono sicuro che può spiegare meglio ciò che voglio ottenere in parole.
Ho provato diversi approcci ma nessuno ha funzionato.