Skip to main content
Minor formatting
Source Link
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

The regex can be easier to work with if you use the "\v"\v pattern prefix. With that, you don't have to escape "("(, "{"{, "["[ and more.

:%s/\vUSet(\d\d)-(\d)/USet\1\2/

:%s/\vUSet(\d\d)-(\d)/USet\1\2/ 

The regex can be easier to work with if you use the "\v" pattern prefix. With that, you don't have to escape "(", "{", "[" and more.

:%s/\vUSet(\d\d)-(\d)/USet\1\2/

The regex can be easier to work with if you use the \v pattern prefix. With that, you don't have to escape (, {, [ and more.

:%s/\vUSet(\d\d)-(\d)/USet\1\2/ 
Source Link

The regex can be easier to work with if you use the "\v" pattern prefix. With that, you don't have to escape "(", "{", "[" and more.

:%s/\vUSet(\d\d)-(\d)/USet\1\2/