Lets say I have a string like this:

Qt Code:
  1. @BEGIN:4; 17, 1;1, "This is an example of text."; 3; 2; 5;11, LABEL;end;@LABEL:7, 1;8;end;@END
To copy to clipboard, switch view to plain text mode 

What would be an easy way to remove all whitespace except in the part between the quotes ("This is an example of text.")?