How to remove the last 13 (or n) characters of every line using Notepad++

前端 未结 3 1151
清酒与你
清酒与你 2020-12-31 15:31

I have a file which each line that ends with Mar 15, 2013 and other dates so I need to remove the end of each line say the last 13 characters

Each line

3条回答
  •  时光说笑
    2020-12-31 16:13

    Just to give you an alternative. You can also use the column edit mode.

    Press Alt and Left click your mouse and move your mouse vertically over all the lines that you want to edit. Then you can just delete everything starting from that column.

    EDIT. On second look I see that you mentioned the lines are of different length. So this might not work in your case. Anyways I will leave it as it is. Who knows it might come in handy later, or maybe for someone else.

提交回复
热议问题