How do I get unmodified text content from the clipboard?
If you copy the following into the clipboard and use ClipboardNotebook[] \[IndentingNewLine] is interpreted as \n:
f[\[IndentingNewLine]]
and run
FullForm@Catch[
NotebookGet@ClipboardNotebook[] /.
Cell[r_, ___] :> Block[{}, Throw[r, tag] /; True];
$Failed, tag]
"f[\n]"
Apologies if there is something in alternative to ClipboardNotebook, I haven't found it.
Paste Special ► Plain text, right? – Alexey Popkov Feb 26 '16 at 22:24f[\[NewLine]]– Jason B. Nov 01 '16 at 22:06