Advice Request Need guidance and advice from those knowledgeable about ad blocking

Please provide comments and solutions that are helpful to the author of this topic.
In Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `^!.*$` and leave the 'Replace with' field empty. Make sure 'Regular expression' is selected in 'Search Mode'. Then click 'Replace All'. This will remove all lines starting with '!'.
And these
||sync.1dmp.io/pixel.gif
||tm.dentsu.de/1tag-cmp-template/prod/utag.js
 
And these
||sync.1dmp.io/pixel.gif
||tm.dentsu.de/1tag-cmp-template/prod/utag.js
To remove specific lines like these, use the 'Find & Replace' feature in Notepad++. In the 'Find what' field, enter the exact line you want to remove, e.g., `\|\|sync.1dmp.io/pixel.gif`. Leave the 'Replace with' field empty and click 'Replace All'. Repeat for each line you want to remove.
 
To remove specific lines like these, use the 'Find & Replace' feature in Notepad++. In the 'Find what' field, enter the exact line you want to remove, e.g., `\|\|sync.1dmp.io/pixel.gif`. Leave the 'Replace with' field empty and click 'Replace All'. Repeat for each line you want to remove.
Can you remove all lines starting with "||"?
 
Can you remove all lines starting with "||"?
Yes, in Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `^\|\|.*$` and leave the 'Replace with' field empty. Make sure 'Regular expression' is selected in 'Search Mode'. Then click 'Replace All'. This will remove all lines starting with '||'.
 
  • Like
Reactions: rashmi
Yes, in Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `^\|\|.*$` and leave the 'Replace with' field empty. Make sure 'Regular expression' is selected in 'Search Mode'. Then click 'Replace All'. This will remove all lines starting with '||'.
How do I remove the space between domains in the vertical list?
ads.creative-serving.com

p161.net

creative-serving.com
 
How do I remove the space between domains in the vertical list?
ads.creative-serving.com

p161.net

creative-serving.com
In Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `^\R` and leave the 'Replace with' field empty. Make sure 'Regular expression' is selected in 'Search Mode'. Then click 'Replace All'. This will remove all blank lines.
 
  • Like
Reactions: rashmi
In Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `^\R` and leave the 'Replace with' field empty. Make sure 'Regular expression' is selected in 'Search Mode'. Then click 'Replace All'. This will remove all blank lines.
How do I remove the exact duplicate websites from the list?
 
How do I remove the exact duplicate websites from the list?
In Notepad++, you can remove duplicate lines using the 'TextFX' plugin. Go to 'TextFX' > 'TextFX Tools' > 'Sort lines case sensitive (at column)' and then check 'Sort outputs only UNIQUE (at column) lines'. If you don't have the plugin, you can download it from the 'Plugins' > 'Plugins Admin'.
 
  • Like
Reactions: rashmi
In Notepad++, you can remove duplicate lines using the 'TextFX' plugin. Go to 'TextFX' > 'TextFX Tools' > 'Sort lines case sensitive (at column)' and then check 'Sort outputs only UNIQUE (at column) lines'. If you don't have the plugin, you can download it from the 'Plugins' > 'Plugins Admin'.
I'm using the Notepad++ mini portable version. There is no "plugins admin" option in plugins.
 
I'm using the Notepad++ mini portable version. There is no "plugins admin" option in plugins.
In that case, you might need to manually install the plugin. Download the DLL file of the 'TextFX' plugin, then place it in the 'plugins' folder of your Notepad++ portable directory. Restart Notepad++ and the plugin should be available. Always be careful when downloading DLL files and only use trusted sources.
 
In that case, you might need to manually install the plugin. Download the DLL file of the 'TextFX' plugin, then place it in the 'plugins' folder of your Notepad++ portable directory. Restart Notepad++ and the plugin should be available. Always be careful when downloading DLL files and only use trusted sources.
How do I remove lines starting with "#"?
 
How do I remove lines starting with "#"?
In Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `^#.*$` and leave the 'Replace with' field empty. Make sure 'Regular expression' is selected in 'Search Mode'. Then click 'Replace All'. This will remove all lines starting with '#'.
 
  • Like
Reactions: rashmi
In Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `^#.*$` and leave the 'Replace with' field empty. Make sure 'Regular expression' is selected in 'Search Mode'. Then click 'Replace All'. This will remove all lines starting with '#'.
How do I keep the "domains" and remove "127.0.0.1" from the lines?
127.0.0.1 analytics.163.com
127.0.0.1 crash.163.com
127.0.0.1 iad.g.163.com
 
How do I keep the "domains" and remove "127.0.0.1" from the lines?
127.0.0.1 analytics.163.com
127.0.0.1 crash.163.com
127.0.0.1 iad.g.163.com
In Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `127.0.0.1 ` (note the space after the IP address) and leave the 'Replace with' field empty. Then click 'Replace All'. This will remove '127.0.0.1 ' from all lines, leaving only the domains.
 
  • Like
Reactions: rashmi
In Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `127.0.0.1 ` (note the space after the IP address) and leave the 'Replace with' field empty. Then click 'Replace All'. This will remove '127.0.0.1 ' from all lines, leaving only the domains.
How do I remove the space between domains in the vertical list?
analytics.163.com
crash.163.com
iad.g.163.com


api4.1mobile.com


sync.1rx.io
tag.1rx.io


s.206ads.com


api.247-inc.net
tie.247-inc.net


247realmedia.com


s0.2mdn.net


cms-xch-chicago.33across.com
ssc.33across.com
ssc-cms.33across.com


360in.com
ad.360in.com
challenge.360in.com
dispatcher.360in.com
exp.360in.com


ad.360yield.com


3gl.net
g.3gl.net
r.3gl.net
 
Last edited by a moderator:
How do I remove the space between domains in the vertical list?
analytics.163.com
crash.163.com
iad.g.163.com


api4.1mobile.com


sync.1rx.io
tag.1rx.io


s.206ads.com


api.247-inc.net
tie.247-inc.net


247realmedia.com


s0.2mdn.net


cms-xch-chicago.33across.com
ssc.33across.com
ssc-cms.33across.com


360in.com
ad.360in.com
challenge.360in.com
dispatcher.360in.com
exp.360in.com


ad.360yield.com


3gl.net
g.3gl.net
r.3gl.net
In Notepad++, use the 'Find & Replace' feature. In the 'Find what' field, enter `^\R` and leave the 'Replace with' field empty. Make sure 'Regular expression' is selected in 'Search Mode'. Then click 'Replace All'. This will remove all blank lines.
 
  • Like
Reactions: rashmi