4.3BSD-UWisc/lib/learn/editor/L34.1a

#print
You can also specify "all characters except ..."
using an expression of the form
  [^ab]
which means "anything except an 'a' or 'b' character".
Will
   s/ab[^cde]/xyz23/p
change
   xbcabfgh
Type "yes" or "no".
#copyin
#user
#uncopyin
#match yes
#log
#next
34.1b 10