<?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[Find in Files - search only files with no extension]]></title><description><![CDATA[<p dir="auto">I’m trying to do a Find In Files search for some text.  I have a series of file extensions that I want to look through, but one of the file extensions is blank.  I’ve tried using *. (but it doesn’t catch them) and ext[] and *.ext[] (but they don’t catch them), and even * (but it searches too many files).  What is the syntax for this?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/13196/find-in-files-search-only-files-with-no-extension</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 13:01:28 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/13196.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Jan 2017 21:19:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Find in Files - search only files with no extension on Thu, 02 Feb 2017 14:19:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/john-bowman" aria-label="Profile: John-Bowman">@<bdi>John-Bowman</bdi></a></p>
<p dir="auto">If you don’t mind the idea of creating some new commands (one-time-only) and executing TWO additional steps (every search), here is a workaround for Notepad++'s current inability to search in extensionless files.</p>
<p dir="auto">Your workflow will be slightly modified:</p>
<p dir="auto"><em>Step 1</em>: Run command “Rename *. to *.NOEXT” (defined below) on the Run menu to rename extensionless files to have extension “.NOEXT” (while you are editing any top-level file in the search tree that has a real extension)<br />
<em>Step 2</em>: Run your desired search; add *.NOEXT to list of filespecs to search<br />
<em>Step 3</em>: Run command “Rename *.NOEXT to *.” (defined below) on the Run menu to rename .NOEXT files back to being extensionless (again, while you are editing any top-level file in the search tree that has a real extension)</p>
<p dir="auto"><strong>Details of command “Rename *. to *.NOEXT”:</strong><br />
One-time setup:<br />
In Notepad++'s Run menu, choose Run…<br />
Paste the following in “The Program to Run” box:<br />
<code>cmd /c cd $(CURRENT_DIRECTORY) &amp; For /R %G in (*.) do  REN "%G" "%~nG.NOEXT"</code><br />
Press the Save button and name it something meaningful like “Rename *. to *.NOEXT”<br />
After accepting the name via the OK button in the “Shortcut” window, press the Cancel button in the “Run…” window (yes, seems like the wrong thing to do).</p>
<p dir="auto"><strong>Details of command “Rename *.NOEXT to *.”:</strong><br />
One-time setup:<br />
In Notepad++'s Run menu, choose Run…<br />
Paste the following in “The Program to Run” box:<br />
<code>cmd /c cd $(CURRENT_DIRECTORY) &amp; For /R %G in (*.NOEXT) do  REN "%G" "%~nG."</code><br />
Press the Save button and name it something meaningful like “Rename *.NOEXT to *.”<br />
After accepting the name via the OK button in the “Shortcut” window, press the Cancel button in the “Run…” window.</p>
<p dir="auto">Thanks to this website for some helpful info on renaming files:  <a href="http://ss64.com/nt/ren.html" rel="nofollow ugc">http://ss64.com/nt/ren.html</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/21485</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21485</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Thu, 02 Feb 2017 14:19:47 GMT</pubDate></item><item><title><![CDATA[Reply to Find in Files - search only files with no extension on Thu, 02 Feb 2017 20:05:51 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <strong>John Bowman</strong> and <strong>All</strong>,</p>
<p dir="auto">I did some <strong>tests</strong> and , indeed, there’s no way to perform a search on files <strong>without extension</strong>, only, in the <strong>search in Files</strong> dialog !</p>
<hr />
<p dir="auto">In the <strong>Filters</strong> zone, of the <strong>Replace in files</strong> dialog :</p>
<ul>
<li>
<p dir="auto">The <strong>exclamation</strong> mark (<strong><code>?</code></strong> ) represents <strong>any single</strong> character, included <strong>space</strong> and <strong>dot</strong>, which may part of the file name</p>
</li>
<li>
<p dir="auto">The <strong>asterisk</strong> symbol (<strong><code>*</code></strong> ) represents <strong>any</strong> range, even <strong>empty</strong> , of characters, included <strong>spaces</strong>* and <strong>dots</strong></p>
</li>
<li>
<p dir="auto">The <strong>space</strong> OR <strong>semi-colon</strong> ( <strong><code>;</code></strong> ) characters represents the usual <strong>separator</strong> between <strong>two</strong> or more filters</p>
</li>
</ul>
<hr />
<p dir="auto">So, given the <strong>list</strong> of files, below :</p>
<pre><code>abcd.txt
abcdefgh
ab.cd.st
at
abcd efgh.txt
abcd_efgh.h
abcd.py
</code></pre>
<p dir="auto">The filters :</p>
<pre><code>- ????????     =&gt;   The S/R would be performed on the 3 files "abcd.txt", "abcdefgh" and "ab.cd.st"

- a*t          =&gt;   The S/R would be performed on the 4 files "abcd.txt", "ab.cd.st", "at" and "abcd efgh.txt"

- abcd?efgh*   =&gt;   The S/R would be performed on the 2 files "abcd efgh.txt" and "abcd_efgh.h"

- *.txt        =&gt;   The S/R would be performed on the 2 files "abcd.txt" and "abcd efgh.txt"

- abcd.*       =&gt;   The S/R would be performed on the 2 files "abcd.txt" and "abcd.py"
</code></pre>
<p dir="auto">Best Regards</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21469</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21469</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Thu, 02 Feb 2017 20:05:51 GMT</pubDate></item><item><title><![CDATA[Reply to Find in Files - search only files with no extension on Tue, 31 Jan 2017 16:37:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/john-bowman" aria-label="Profile: John-Bowman">@<bdi>John-Bowman</bdi></a> If you are willing to use an outside search tool when you need to do searches that NPP can’t, you might do a web search for GrepWrap.  I use it from time to time because it allows me to specify what NOT to search (both file and directory names) as well as what to search.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21416</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21416</guid><dc:creator><![CDATA[Jim Dailey]]></dc:creator><pubDate>Tue, 31 Jan 2017 16:37:34 GMT</pubDate></item><item><title><![CDATA[Reply to Find in Files - search only files with no extension on Tue, 31 Jan 2017 14:08:21 GMT]]></title><description><![CDATA[<p dir="auto">“*” did find it - but it also caused it search *.exe and *.dll and other large files that really slows things down.  This is for a common search I do often…  hopefully someone else will have a good suggestion.  Thank you Claudia for taking the time to respond.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21399</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21399</guid><dc:creator><![CDATA[John Bowman]]></dc:creator><pubDate>Tue, 31 Jan 2017 14:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to Find in Files - search only files with no extension on Tue, 31 Jan 2017 00:12:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/john-bowman" aria-label="Profile: John-Bowman">@<bdi>John-Bowman</bdi></a></p>
<p dir="auto">Afaik, there is no syntax for finding files without extension only available, as PathMatchSpec API function<br />
is used, but the * should have found it - did a quick test (searched COPYING) and found LICENSE file.<br />
What can be used is<br />
? - for a single letter<br />
* - multiple letters<br />
and the dot of course.</p>
<p dir="auto">Maybe you need to construct something like ?????? for README but it would also find a<br />
file like ab.txt.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21386</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21386</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 31 Jan 2017 00:12:57 GMT</pubDate></item></channel></rss>