Frage im Vorstellungsgespräch bei Icertis

Java code on removing the duplicate special characters (only) from a string