This is another case (IMO) where two statements would be both
in reply to Nested grouping or capturing inside capturing
- more elegant (because more readable & maintainable)
- and...less subject to brain-cramp, whilst originally writing it
Why not use split as the first; then s/"// each element of the resultant (split) array as the second step prior to printing. Yes, you can argue that that adds two steps (and you would not be UNjustified in making that argument) and thus slows the operation, IMO, the clarity is worth the cost.