When I copy some long string like json from a debugger, and want to look at it properly formatted it starts off encoded with /n and /t characters, etc.

I usually go:

  • Replace (Normal) /n -> qqqq
  • Replace (Extended) qqqq -> /n

Is there some trick to do this in one step?