# text editing - Geeks to Go Forums

## text editing

### #1ezniZ

• Group: Member
• Posts: 1
• Joined: 17-October 11

Posted 17 October 2011 - 10:16 AM

I use note pad or office word to find and replace when editing a text file.
This only works when I find and replace the exact text.

What I want to do is replace all the brackets and numbers within the brackets and still leave in place the IP address numbers that follow the brackets.
example...

[12:55:00]85.11.149.150:3128:
[12:55:00]41.215.254.4:80:
[12:55:02]125.244.54.130:8080:
[12:55:02]202.158.165.82:80:
[12:55:04]148.244.235.249:3128:
[12:55:04]59.144.165.23:8080:
[12:55:04]195.175.37.6:8080:
[12:55:04]83.59.35.193:6588:
[12:55:04]195.175.37.8:80:
[12:55:06]218.3.241.12:8080:
[12:55:06]81.64.100.170:7212:
[12:55:06]61.106.178.100:8080:
[12:55:06]59.159.243.243:80:
[12:55:08]142.103.2.2:3124:
[12:55:08]61.36.44.25:8080:
[12:55:08]217.11.62.68:3128:

Is there a text editor that will let me do this, the numbers within the brackets are not the same.
If they were the same I would have no problem.
Because they are not the same I would have to delete them seperarly and I have about a thousand of them, very time consuming.

Thanks
ezniZ

### #2Vino Rosso

• Group: Visiting Consultant
• Posts: 235
• Joined: 21-February 07

Posted 17 October 2011 - 11:09 AM

Have you got Excel? If so, you could use =MID(cell,11,20)

For example, put [12:55:00]85.11.149.150:3128: in A1 and =MID(A1,11,20) in B1

Some text editors will do similar.

### #3Vino Rosso

• Group: Visiting Consultant
• Posts: 235
• Joined: 21-February 07

Posted 17 October 2011 - 11:16 AM

Import the text; hold hold Alt and highlight the text you don't want; press Delete.

### #4Vino Rosso

• Group: Visiting Consultant
• Posts: 235
• Joined: 21-February 07

Posted 17 October 2011 - 11:26 AM

Last word from me... just discovered you can do what I suggested with Notepad++ in MS Word as well. So, if you've got MS Word, try that!