Using regular expressions to do mass replace in Notepad++ and Vim

前端 未结 16 1626
迷失自我
迷失自我 2020-12-08 04:25

So I\'ve got a big text file which looks like the following:

16条回答
  •  青春惊慌失措
    2020-12-08 05:04

    There are two problems with your original solution. Firstly, your example text:

    has two occurences of the "value" word. Your regex does not. Also, you need to escape the opening brace in the quantifier of your regex or Vim will interpret it as a literal brace. This regex works:

    :%s/

提交回复
热议问题