<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Question regarding new find-in-files filter excluding ability in version 7.8.2]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">The change log for version 7.8.2 contains the following point</p>
<p dir="auto"><strong>2.  Add find in files filter excluding ability.</strong></p>
<p dir="auto">That sounds like a great feature; I’ve been waiting for something like this for a long time. :) But when I open <strong>Find in Files</strong>, I cannot find anything in the dialog about excluding directories (or file types?) from my search. Am I missing something obvious?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18609/question-regarding-new-find-in-files-filter-excluding-ability-in-version-7-8-2</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 17:01:51 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18609.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Dec 2019 22:04:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Mon, 08 Jun 2020 18:42:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> said in <a href="/post/49202">Question regarding new find-in-files filter excluding ability in version 7.8.2</a>:</p>
<blockquote>
<p dir="auto">Note that you cannot just write an exclusive mask, alone ! For instance, the !*.log filter does not scan any file :-(( Personally, I think that !*.log should, implicitly, mean !*.log *.* i. e. it would have scanned all files, except for those with extension = log</p>
</blockquote>
<p dir="auto">This has been changed in Notepad++ 7.8.7 so that you <em>can</em> write exclusive mask(s) alone.  See <a href="https://community.notepad-plus-plus.org/topic/19514/7-8-7-release-candidate-4">HERE</a> and note point #12 of the change log:</p>
<p dir="auto"><code>12. Allow user to skip *.* when adding only excluding Filters for Find/Replace In Files.</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/54786</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54786</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 08 Jun 2020 18:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Wed, 18 Dec 2019 17:28:50 GMT]]></title><description><![CDATA[<p dir="auto">I think it was decided that <code>!</code> usage as the first character in a filename was rare enough to not cause a real problem here.  Adding additional GUI elements is problematic because it takes up precious screen area and then has to be translated into all kinds of languages.  Not huge problems, but I think the current prefix of <code>!</code> is pretty reasonable, so I would vote to leave it the way it is.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49270</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49270</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 18 Dec 2019 17:28:50 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Wed, 18 Dec 2019 17:18:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a> and <strong>All</strong>,</p>
<p dir="auto">Oh, my bad ! Of course, it would <strong>not</strong> be the best choice as, instead, the <strong><code>!</code></strong> symbol is curently used, in <strong><code>C</code></strong>, to mean, both, <strong>different of</strong> ( <strong><code>!=</code></strong> ) and the logical <strong>NOT</strong> operator ( <strong><code>!</code></strong> )</p>
<p dir="auto">Now, I’m stuck : there isn’t any other symbol, which <strong>clearly</strong> suggests the <strong>negation</strong> concept ! Of course, we may rename any file beginning with the <strong><code>!</code></strong> symbol but, finally, the best choice would be a new <strong><code>Excluding:</code></strong> zone ;-)) in the <strong>Find in Files</strong> dialog, wouldn’t it be ?</p>
<p dir="auto">BR</p>
<p dir="auto">Guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49269</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49269</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 18 Dec 2019 17:18:32 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Wed, 18 Dec 2019 12:54:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a></p>
<p dir="auto">I think that <code>|</code>, while a good choice because it is not allowed in filenames, is a bad choice because C-family programmers are used to it being an “or” operator, which for this application would really be misleading!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49254</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49254</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 18 Dec 2019 12:54:15 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Wed, 18 Dec 2019 11:23:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/8228">@markus-kemp109</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@peterjones</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a> and <strong>All</strong>,</p>
<p dir="auto">Yes, <strong>Alan</strong>, your’re <strong>right</strong> about it. I haven’t noticed that, yet !</p>
<p dir="auto">So I created <strong>four</strong> test files <strong><code>Test.txt</code></strong>, <strong><code>Test_2.xml</code></strong>, <strong><code>!Test.txt</code></strong> and <strong><code>!Test_2.xml</code></strong>, from any <strong>non-empty</strong> <strong><code>xml</code></strong> file, in the folder of my <strong>local</strong> installation of N++ <strong><code>v7.8.2</code></strong> :</p>
<p dir="auto">Then :</p>
<ul>
<li>
<p dir="auto">Open the <strong>Find in Files</strong> dialog ( <strong><code>Ctrl + Shift + F</code></strong> )</p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>Notepad</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>$0</code></strong>  ( just in case I run the <strong>replacement</strong> by <strong>mistake</strong> ! )</p>
</li>
<li>
<p dir="auto">DIRECTORY <strong><code>Notepad++ folder</code></strong></p>
</li>
<li>
<p dir="auto">Search mode <strong><code>Regular expression</code></strong></p>
</li>
<li>
<p dir="auto">FILTERS One of the <strong><code>6</code></strong> cases, below</p>
<ul>
<li>
<p dir="auto"><strong><code>*xml</code></strong>  =&gt; <strong><code>13</code></strong> files listed in the <strong>Find result</strong> panel, not including the <strong>empty</strong> <strong><code>doLocalConf.xml</code></strong> file</p>
</li>
<li>
<p dir="auto"><strong><code>*.xml !test*.xml</code></strong>  =&gt; <strong><code>11</code></strong> files listed ( <strong>Correct</strong> : all but the <strong>two</strong> <strong><code>Test.txt</code></strong>, <strong><code>Test_2.xml</code></strong> files )</p>
</li>
<li>
<p dir="auto"><strong><code>*.xml !!test*.xml</code></strong> =&gt; <strong><code>11</code></strong> files listed ( <strong>Correct</strong> : all but the <strong>two</strong> <strong><code>!Test.txt</code></strong> and <strong><code>!Test_2.xml</code></strong> files )</p>
</li>
<li>
<p dir="auto"><strong><code>test*.xml</code></strong> =&gt; <strong><code>2</code></strong> files listed ( <strong>Correct</strong> : only the the <strong>two</strong> <strong><code>Test.txt</code></strong>, <strong><code>Test_2.xml</code></strong> files )</p>
</li>
<li>
<p dir="auto"><strong><code>!test*.xml</code></strong> =&gt; <strong><code>0</code></strong> files listed ( Logic as the <strong>inclusive</strong> filter is missing ) but <strong>incorrect</strong> because it should mean, either :</p>
<ul>
<li>
<p dir="auto"><strong>All</strong> files except for the files <strong><code>Test.txt</code></strong> and <strong><code>Test_2.xml</code></strong></p>
</li>
<li>
<p dir="auto">Only the <strong>two</strong> <strong><code>!Test.txt</code></strong> and <strong><code>!Test_2.xml</code></strong> files</p>
</li>
</ul>
</li>
<li>
<p dir="auto"><strong><code>!!test*.xml</code></strong> =&gt; <strong><code>0</code></strong> files listed ( Logic as the <strong>inclusive</strong> filter is missing ) but <strong>incorrect</strong> because it should mean, either :</p>
<ul>
<li>
<p dir="auto">All files except for the files <strong><code>!Test.txt</code></strong> and <strong><code>!Test_2.xml</code></strong></p>
</li>
<li>
<p dir="auto">Only the two, <strong>non-created</strong> files, <strong><code>!!Test.txt</code></strong> and <strong><code>!!Test_2.xml</code></strong></p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<hr />
<p dir="auto">Note that the <strong>forbidden</strong> characters, in <strong>Microsoft</strong> filenames are the <strong>nine</strong> following symbols :</p>
<p dir="auto"><strong><code>\</code></strong>,  <strong><code>/</code></strong>, <strong><code>:</code></strong>, <strong><code>*</code></strong>, <strong><code>?</code></strong>, <strong><code>"</code></strong>, <strong><code>&lt;</code></strong>, <strong><code>&gt;</code></strong> and <strong><code>|</code></strong></p>
<p dir="auto">So, although the case of filenames, <strong>beginning</strong> with the <strong><code>!</code></strong> <strong>exclamation mark</strong>, must be rather <strong>rare</strong>, I think that using the <strong><code>|</code></strong> symbol to express the <strong>negation</strong> concept, in the <strong><code>Filters:</code></strong> zone, would have been a <strong>more appropriate</strong> symbol ;-))</p>
<p dir="auto">And of course, an <strong>unique</strong> syntax <strong><code>|Test*.xml</code></strong>, beginning with the <strong><code>|</code></strong> symbol,  would have <strong>implicitly</strong> meant the syntax <strong><code>*.* |Test*.xml</code></strong></p>
<p dir="auto">Best regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49248</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49248</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 18 Dec 2019 11:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Mon, 16 Dec 2019 21:09:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> That sounds awesome. Thanks for the info. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49228</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49228</guid><dc:creator><![CDATA[Markus Kemp109]]></dc:creator><pubDate>Mon, 16 Dec 2019 21:09:38 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Mon, 16 Dec 2019 19:22:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> said in <a href="/post/49202">Question regarding new find-in-files filter excluding ability in version 7.8.2</a>:</p>
<blockquote>
<p dir="auto">The excluding symbol ! is not a problem if, exceptionally, a filename begins with the ! character. For instance, if the scanned directory contains a file !Test_3.xml the mask !!Test*.* *.xml would scan all xml files whose name do not begin with !Test</p>
</blockquote>
<p dir="auto">But you could have a problem on your hands if you need to search files that match <code>!Test_*.xml</code>, such as <code>!Test_3.xml</code>, <code>!Text_4.xml</code>…  :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49223</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49223</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 16 Dec 2019 19:22:06 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Mon, 08 Jun 2020 18:50:27 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/8228">@markus-kemp109</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@peterjones</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a> and <strong>All</strong>,</p>
<p dir="auto"><strong>Additional</strong> points regarding the <strong><code>Filters</code></strong> entry box, of the <strong>Replace in Files</strong> dialog :</p>
<ul>
<li>
<p dir="auto">If the <strong><code>Filters</code></strong> box is <strong>empty</strong> , it means <strong><code>*.*</code></strong> ( Trivial ! )</p>
</li>
<li>
<p dir="auto">The <strong>inclusive</strong> mask does <strong>not</strong> need to be the <strong>first</strong> item. For instance, <strong><code>!*.exe !*.log *.*</code></strong> would scan all files of the <strong>given</strong> directory ( and, possibly, its <strong>sub-dirs</strong> ), <strong>except</strong> for those with extension = <strong><code>exe</code></strong> and <strong><code>log</code></strong></p>
</li>
<li>
<p dir="auto">The <strong>excluding</strong> symbol <strong><code>!</code></strong> is not a problem if, <strong>exceptionally</strong>, a filename <strong>begins</strong> with the <strong><code>!</code></strong> character. For instance, if the scanned directory contains a file <strong><code>!Test_3.xml</code></strong> the mask <strong><code>!!Test*.* *.xml</code></strong> would scan all <strong><code>xml</code></strong> files whose name do <strong>not</strong> begin with <strong><code>!Test</code></strong></p>
</li>
<li>
<p dir="auto">Note that you <strong>cannot</strong> just write an <strong>exclusive</strong> mask, <strong>alone</strong> ! For instance, the <strong><code>!*.log</code></strong> filter does <strong>not</strong> scan any file :-(( Personally, I think that <strong><code>!*.log</code></strong> should, <strong>implicitly</strong>, mean <strong><code>!*.log *.*</code></strong> i. e. it would have scanned <strong>all</strong> files, <strong>except</strong> for those with extension = <strong><code>log</code></strong></p>
</li>
</ul>
<p dir="auto">Note that this <strong>last</strong> point is <strong>wrong</strong>, since Notepad++ <strong><code>v7.8.7</code></strong>. Refer <a href="https://community.notepad-plus-plus.org/post/54786">here</a></p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49202</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49202</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 08 Jun 2020 18:50:27 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Wed, 11 Dec 2019 13:38:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/8228">@Markus-Kemp109</a> said in <a href="/post/49106">Question regarding new find-in-files filter excluding ability in version 7.8.2</a>:</p>
<blockquote>
<p dir="auto">Hopefully…an exclude-these-directories option will be added</p>
</blockquote>
<p dir="auto">The <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2433" rel="nofollow ugc">issue ticket</a> that resulted in the exclude <em>files</em> behavior actually started as a ticket to exclude <em>directories</em>.  As of this writing, I think the addition of a directory exclude is being actively worked on.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49132</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49132</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 11 Dec 2019 13:38:34 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Wed, 11 Dec 2019 13:15:12 GMT]]></title><description><![CDATA[<p dir="auto">I found the tooltip that provides help on the feature.<br />
It wasn’t where I expected it.<br />
I expected it to appear when you hover (and stop moving the mouse) over the box you fill in for the filters, but no, you have to point to (and pause over) the <code>Filters :</code> label itself:</p>
<p dir="auto"><img src="/assets/uploads/files/1576070014921-1e252401-15d7-444c-a518-69c81bb9f0d1-image.png" alt="1e252401-15d7-444c-a518-69c81bb9f0d1-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/49131</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49131</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 11 Dec 2019 13:15:12 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Tue, 10 Dec 2019 22:52:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/49103">Question regarding new find-in-files filter excluding ability in version 7.8.2</a>:</p>
<blockquote>
<p dir="auto">!*.bin</p>
</blockquote>
<p dir="auto">I’ve added a <a href="https://github.com/notepad-plus-plus/npp-usermanual/pull/63" rel="nofollow ugc">Pull Request</a> to include that example in the <a href="https://npp-user-manual.org/docs/searching/#find-in-files" rel="nofollow ugc">Searching &gt; Find in Files</a> docs.  It should be merged by this weekend; when it gets released is out of my control.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49109</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49109</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 10 Dec 2019 22:52:16 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Tue, 10 Dec 2019 22:26:16 GMT]]></title><description><![CDATA[<p dir="auto">Ah, I see. Thanks for the response. Hopefully, one day an <strong>exclude-these-directories</strong> option will be added to the <strong>Find in Files</strong> dialog. That would be really great. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49106</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49106</guid><dc:creator><![CDATA[Markus Kemp109]]></dc:creator><pubDate>Tue, 10 Dec 2019 22:26:16 GMT</pubDate></item><item><title><![CDATA[Reply to Question regarding new find-in-files filter excluding ability in version 7.8.2 on Tue, 10 Dec 2019 22:07:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/8228">@Markus-Kemp109</a> said in <a href="/post/49101">Question regarding new find-in-files filter excluding ability in version 7.8.2</a>:</p>
<blockquote>
<p dir="auto">Am I missing something obvious?</p>
</blockquote>
<p dir="auto">Nope, you’re missing something that was not made obvious!</p>
<p dir="auto">It doesn’t do anything with <strong>directories</strong>, but if you want to exclude <code>.bin</code> <strong>files</strong> from your search, you can do <code>!*.bin</code>, as an example.</p>
<p dir="auto">I think there might be a tooltip that makes this more obvious, but I haven’t seen it. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49103</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49103</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 10 Dec 2019 22:07:55 GMT</pubDate></item></channel></rss>