I have an external web service that in the response body returns json but nested in parentheses, like this:
({\"door_x\":\"103994.001461\",\"door_y\":\"98780
Alternative regex to convert from jsonp (dirty) to json (clean):
String clean = dirty.replaceFirst("(?s)^\\((.*)\\)$", "$1");