Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Tried:

enter image description here

No success!

Also

enter image description here

No success!

Any suggestions?

Thanks in advance!

share|improve this question
    
Isn't this what you're looking for? –  mdeitrick 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++: imgur.com/DMDoC. It takes a couple of gos when you have more digits, but it works well. –  chris Jul 21 '12 at 21:44

2 Answers 2

up vote 4 down vote accepted

Try this:

^[0-9]+:

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.