I am doing some sanitizing of the input using Java. I need to replace all CLOSED angle braces with "corresponding curly brackets" (keep the content in between) if