Remove line numbers at the start of each line

前端 未结 2 2075
闹比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:04

    try this, it should work

    ^\d+(?:\.\d+)?%$
    
    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题