T
T
Timerq2018-10-26 18:03:57
Notepad++
Timerq, 2018-10-26 18:03:57

How to remove everything before and after the proxy?

How from lines of this kind

spoiler

1 101.255.124.242:3128 ID Jakarta
2 103.14.250.38:8080 KH Preah Sihanouk
3 103.216.82.206:6667 IN Gujarat
4 103.239.254.150:8080 BD Dhaka
5 103.44.139.81:9999 IN National Capital Territory of Delhi
6 103.83.15.66:61896 BD
7 107.170.254.167:4132 US California
8 109.71.181.170:53983 RU St.-Petersburg
9 114.134.5.96:61110 NZ Waikato
10 118.172.211.39:49186 TH
11 121.12.92.124:3000 CN Guangdong
12 123.249.94.43:9999 CN Guangdong
13 125.27.10.195:38153 TH Changwat Chachoengsao
14 138.0.36.53:53281 BR Espirito Santo
15 14.102.50.28:52667 IN National Capital Territory of Delhi
16 151.80.58.175:80 IT
100 14.102.50.28:52667 IN National Capital Territory of Delhi
1000 14.102.50.28:52667 IN National Capital Territory of Delhi
10000 14.102.50.28:52667 IN National Capital Territory of Delhi
20000 14.102.50.28:52667 IN National Capital Territory of Delhi

Leave only ipishniks?
To be like this

125.27.10.195:38153
14.102.50.28:52667
151.80.58.175:80

The solution is not necessary in Notrpad++, if it is possible to do it in another program, feel free to write.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-10-26
@dimonchik2013

^[^\n]+([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:[0-9]+)[^\n ]+\n
you change it to
\1\n
textpad
and Charon can do it himself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question