Remove line numbers at the start of each line

前端 未结 2 2100
闹比i
闹比i 2021-01-13 18:43

I have numbers at the start of each line in my text file in the following format :

1: text written ....
2: text written ....

which continue

2条回答
  •  既然无缘
    2021-01-13 19:17

    You can use this pattern:

    ^\d+\s:
    

    If you can possibly have more than one space after it like this:

    1   :
    10  :
    100 :
    

    Use this pattern:

    ^\d+\s+:
    

    Make sure you have Wrap around checked:
    enter image description here

提交回复
热议问题