4.3BSD-UWisc/lib/learn/editor/L34.2e

#print
Suppose you wanted to match all letters and
punctuation marks.  You could try
 [^ ]
which is "anything but blank".
Try the following commands:

ex cut
1p
1s/p[^ ]/xxx/p
wq
ready
#create Ref
stop this comxxxter
#create cut
stop this computer
#user
#cmp cut Ref
#log
#next
34.2f 5