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