7

I have a list like this:

1 http://
2 http://
3 http://
4 http://
5 http://

I would like to remove 1,2,3,4,5 without doing this manually for each line. The only tool I am using is notepad in a bare Windows setup.

How can i remove this in Notepad or Microsoft Word?

4 Answers 4

13

In Microsoft Word, use Replace (CtrlH) with:

<[0-9]@ (http)

replace with:

\1

Make sure "Use wildcards" is enabled.

6
  • 1
    +1 I use Linux so much I'd never bothered to try text edits in Office/Windows.
    – Tog
    Commented Jan 23, 2011 at 10:08
  • Oh, nice to know you can do more than just *. Commented Jan 23, 2011 at 15:08
  • 2
    Holy cow, you can do backreferences in Word??! Where is this documented? Commented Jul 17, 2013 at 21:09
  • 2
    @Gregg: Here. Commented Jul 17, 2013 at 21:30
  • 1
    @grawity: Holy cow indeed. By the way, the link seems to be broken. Commented Feb 9, 2015 at 6:34
3

Using Notepad++ text editor you can use Column mode selection. Press Alt before select the text you want to delete an it allows you select a column (instead the complete rows of the selection) Also Notepad++ has a portable version and is not necessary to install anything to do this.

1
  • +1 for Notepad++. My favorite text editor and I can barely live without it! Commented Feb 9, 2015 at 6:33
0

i used excel 2013. when you paste in excel, first column would be filled with number and remaining content in second column. then you can just copy second column. but you will be left with extra spaces between each lines. then you can go to find and go to special, select blank rows and delete those rows.

1
  • This does not work for me.
    – imtheman
    Commented May 5, 2014 at 3:42
0

Just to add to the options... you can also select as a column in MS Word by holding ALT+SHIFT and dragging.

You must log in to answer this question.

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