Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What I'm trying to do is

to remove all line numbers. In other words to find and replace all expressions like x: or xx: with :

enter image description here


enter image description here

No success!


enter image description here

No success!

Any suggestions?

Thanks in advance!

share|improve this question
Isn't this what you're looking for? – Rob Jul 21 '12 at 21:42
This is the sort of thing you can do by holding ctrl+alt while you select text in Notepad++: It takes a couple of gos when you have more digits, but it works well. – chris Jul 21 '12 at 21:44
up vote 4 down vote accepted

Try this:


You should not put quote characters in the regexp.

share|improve this answer
^([0-9]+)\:\s helped me – Tural Aliyev Jul 21 '12 at 21:56

Try this regular expression: [0-9:]+ *.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .