I\'m trying to detect the parentheses on string for example: foo(bar)baz(blim) to and reverse the content inside of the parentheses but I\'m getting out of boun
foo(bar)baz(blim)