strOutput.replace(\"/{{[^]*?}}/g\",\"\");
Is there a way to convert JavaScript regexes to Java-safe regexes?
The above statement gives me t
You wouldn't need the /'s (forward slashes at start and end) those are used in javascript for inline declaration instead of quotes.
/
Should just be Regex r = new Regex("{{[^]*?}}");
Regex r = new Regex("{{[^]*?}}");