-2

I am trying to delete from the start of a line to the first colon. The dark gray area designates the area I am trying to get rid of.

.txt file list

asmcriminal
  • 73
  • 10
  • 1
    What have you tried that didn't work? Seems like a rather trivial task to me. – Sebastian Proske Nov 02 '16 at 10:16
  • @SebastianProske a ton of googling, and searching through stackoverflow. Here is a list of a few of the commands I tried. .+(\"Line"\*\:) \Line*\: ^(*) ^* ^*(:) Line*' Line *' I am sure there are things that you have difficulty with that seem pretty trival to me as well. – asmcriminal Nov 02 '16 at 12:35
  • I hope during searching through stack overflow you learned a few things about how to ask questions and don't use an image next time. I can only recommend doing some basic regex tutorials (you should get everything needed for this task quite quickly). – Sebastian Proske Nov 02 '16 at 15:13
  • @SebastianProske What is wrong with my question? I understand if it's frowned upon if i use images. I saw someone use one and I thought it would be okay. I do get downvoted when i asked questions, I don't know why. – asmcriminal Nov 03 '16 at 01:54
  • http://meta.stackoverflow.com/questions/285551/why-may-i-not-upload-images-of-code-on-so-when-asking-a-question http://stackoverflow.com/help/how-to-ask and http://meta.stackexchange.com/questions/121350/ive-just-been-downvoted-how-should-i-react should help you to understand. – Sebastian Proske Nov 03 '16 at 06:18

1 Answers1

0

You can try this:

^.*Line \d+:(.*)$

and replace by:

\1

Make sure that .matches new line is not checked

Rizwan M.Tuman
  • 9,424
  • 2
  • 24
  • 40