<?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[rename files]]></title><description><![CDATA[<p dir="auto">Fellow Notepad++ Users,</p>
<p dir="auto">Could you please help me the the following search-and-replace problem I am having?</p>
<p dir="auto">DESCRIBE CIRCUMSTANCES OF YOUR QUESTION</p>
<p dir="auto">I would like to make these files available for download (or just for text viewing), but with the filenames changed—keeping only the part of the name that appears before the underscore.<br />
Here is the data I currently have (“before” data):</p>
<p dir="auto">“C:\contest\cvadx\2024\CW\DL8FMA_8U5QC.txt”<br />
“C:\contest\cvadx\2024\CW\DL8UKW_8WMM6.txt”<br />
“C:\contest\cvadx\2024\CW\DL8UKW_RMXE3.txt”<br />
“C:\contest\cvadx\2024\CW\DM1AA_6J2IN.txt”</p>
<pre><code>
Here is how I would like that data to look ("after" data):
</code></pre>
<p dir="auto">“C:\contest\cvadx\2024\CW\DL8FMA.txt”<br />
“C:\contest\cvadx\2024\CW\DL8UKW.txt”<br />
“C:\contest\cvadx\2024\CW\DL8UKW.txt”<br />
“C:\contest\cvadx\2024\CW\DM1AA.txt”</p>
<p dir="auto">very thanks<br />
Francisco Freitas</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27653/rename-files</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 12:54:43 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27653.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Sep 2026 11:50:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to rename files on Wed, 09 Sep 2026 12:50:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/francisco" aria-label="Profile: francisco">@<bdi>francisco</bdi></a> this is a classical task for a RegEx Search/Replace.</p>
<p dir="auto">Open Replace Dialog and select “Regular Expression” as Search Mode. At “Find what” enter <code>^(.*)_[^.]*</code>. At “Replace with” enter <code>$1</code>. Hit “Replace All”.</p>
<p dir="auto">You may want to have a look at <a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">https://npp-user-manual.org/docs/searching/#regular-expressions</a> for an introduction to Regular Expression Searches. For further reading have a look at <a href="https://community.notepad-plus-plus.org/topic/15765/faq-where-to-find-regular-expressions-regex-documentation">https://community.notepad-plus-plus.org/topic/15765/faq-where-to-find-regular-expressions-regex-documentation</a>. You will find a lot of useful information and links there.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/106270</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/106270</guid><dc:creator><![CDATA[gerdb42]]></dc:creator><pubDate>Wed, 09 Sep 2026 12:50:30 GMT</pubDate></item></channel></rss>