jonnybongas
Programmer
I have a variable like the one below. It contains nested braces pair. I'd like to create a regexp that changes the variable value to the string "hello world". Can anyone help with me this?
$test = "hello
{{ text
{{innerbrace}}
some text
{{innerbrace2}}
some text
}} world";
//John
$test = "hello
{{ text
{{innerbrace}}
some text
{{innerbrace2}}
some text
}} world";
//John