Remove the Parenthesis and keep with contents within

It would be extremely helpful If I could get a solution for the below scenarios
For the below one’s I have to keep the parenthesis

  1. Test(12)Try) - for this one, all the open and close parenthesis needs to kept in place.
  2. Test(12Provide
  3. (Test)12 Provide

for all these 3 types, need to keep them and not replace or remove the parenthesis