I need to replace macro(param) with param
mystring = "function(macro(param)) { a = call(1)};"
and my goal is
"function(param) { a = call(1)};"
the param is variable, it has to work also for
mystring = "function(macro(another_param)) { a = call(1)};"
"function(another_param) { a = call(1)};"
and in the text around could be anything and this text should be not affected.