0

I am trying to replace D(t by \zb(t using the following vim command

:s%|D(t|\zb(t,|g

but I get

Unknown operator '\zb'

How can I replace string with \ inside or replace strings with other strings that have a \ inside?

romainl
  • 186,200
  • 21
  • 280
  • 313
Mike
  • 3,775
  • 8
  • 39
  • 79
  • 1
    https://stackoverflow.com/search?q=%5Bvim%5D+escape+backslash – phd Jan 02 '22 at 22:46
  • 1
    Escape (screen) backslash using backslash because backslash is the escaping (screening) character: \\ – phd Jan 02 '22 at 22:47

0 Answers0