If we take the (simple) example
x = 1;
y = 2;
z = 3;
x + y + z
we get the (complete screen) result when copying into a more basic interface, such as a web forum or text editor
In[1]:= x = 1;
y = 2;
z = 3;
In[4]:= x + y + z
Out[4]= 6
Is there any clever way to modify this output (preferably during the copy/paste operation) to become
x = 1;
y = 2;
z = 3;
x + y + z
> 6
(or some other 'minimalistic' output indicator than '>'), removing the input labels as well as reducing the output labels. It would be very convenient to have when pasting Mathematica code/output in web forums as well as in the verbatim environment in LaTeX. TIA.