I am trying to replace all quotes (") with escaped quotes (\") and simultaneously all escaped quotes with normal quotes.
I found the following solution to a similar problem here for swapping 'foo' to 'bar' and vice versa:
but I cannot translate it to my particular case.
The problem being that every escaped quote contains also a normal quote.
Looking forward to your suggestions.
PS: I want to avoid first replacing all escaped quotes with a different (and hopefully unique) pattern, then replacing all remaining normal quotes with escaped quotes, and then replacing the different pattern with normal quotes - but rather do it in one go.