Q:

Cleaning quotes in a string

I have a string:

"Very ""Good"" title"

and I need to make it look like this:

Very "Good" title

how can I do this?
Sorry for the lack of description. Here is what is going on:
I have a file, where line like:
"Very ""Good"" title" 21 1231 1111 [zcz]

and i need to split in to 
"Very ""Good"" title"
21
1231
1111 
[zcz]

and then, "Very ""Good"" title" replace with Very "Good"" title

A:

What about using a regex with a negative lookahead? Specifically: "(?!").
String s = "\"Very \"\"Good\"\" title\"";

System.out.println(s.replaceAll("\"(?!\")", ""));

Very "Good" title

I'm assuming here that you want to replace every run of n quotes with n-1 quotes, which is equivalent to deleting the last quote in such a run. This is exactly what we're doing with this regex; we're matching and removing all quotes that are not followed by another quote:

Debuggex Demo

