in reply to Removing only the first instance with RegEx

You could just do something like this:

if (!/^\(.*\)$/) {s/^\(//;s/\)$//};

Enjoy