Hi, this is probably a pretty basic question, but I can't find the answer here.
I'm using Notepad++ to search through huge txt files. I want to run a search but omit certain text in my results. for example.. I want to search for any lines containing "http" but omit any lines that contain "HVU:B1"
Thanks!
khux
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1/ To put text into the clipboard, type it and teh n cut or copy it.
2/ The "Mark line" option, as well as "Style found token", work only with the Find All button, not any other button.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like you are performing nested searches. This is most easily done checking the "Mark lines" and the Find all command.
Search for lines that have "http". Copy bookmarked lines, paste them on a scratch document (or in place of the needlessly huge initial one).
Now comes TextFX Viz with its Show lines without (clipboard) command. This will hide undesirable lines. Select All, then Cut invisible selection to weed them out. Add or iterate such cropping as per your requirements.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, this is probably a pretty basic question, but I can't find the answer here.
I'm using Notepad++ to search through huge txt files. I want to run a search but omit certain text in my results. for example.. I want to search for any lines containing "http" but omit any lines that contain "HVU:B1"
Thanks!
khux
1/ To put text into the clipboard, type it and teh n cut or copy it.
2/ The "Mark line" option, as well as "Style found token", work only with the Find All button, not any other button.
CChris
It looks like you are performing nested searches. This is most easily done checking the "Mark lines" and the Find all command.
Search for lines that have "http". Copy bookmarked lines, paste them on a scratch document (or in place of the needlessly huge initial one).
Now comes TextFX Viz with its Show lines without (clipboard) command. This will hide undesirable lines. Select All, then Cut invisible selection to weed them out. Add or iterate such cropping as per your requirements.
CChris
Thanks Chris. How do I add "HVU:B1" to the clipboard?
sorry.. I should mention I have multiple files open so I use 'Find All in All Open Documents'