You could try this:
public static void main(String[] args) {
String value = "\"iVBORw0KGgoAAAANSUhEUgAAAwoAAADwCAYAAACg2ZPDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\\neJzt3XecXVW99";
String filtre1 = value.replaceAll("\"", "");
String filtre2 = filtre1.replaceAll("\\\\n", "");
System.out.println(filtre2);
}