<?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[Insertion of the leading zeros]]></title><description><![CDATA[<p dir="auto">Hello.<br />
I’ve got a little misunderstanding. There is a text file with such kind of list:<br />
131_1.txt <em>different symbols</em><br />
131_2.txt <em>different symbols</em><br />
131_3.txt <em>different symbols</em><br />
…<br />
131_10.txt <em>different symbols</em><br />
…<br />
131_100.txt <em>different symbols</em><br />
…<br />
131_1000.txt <em>different symbols</em></p>
<p dir="auto">I have to insert leading zeros after prefics to get this kind of the list:<br />
131_0001.txt <em>different symbols</em><br />
131_0002.txt <em>different symbols</em><br />
131_0003.txt <em>different symbols</em><br />
…<br />
131_0010.txt <em>different symbols</em><br />
…<br />
131_0100.txt <em>different symbols</em><br />
…<br />
131_1000.txt <em>different symbols</em></p>
<p dir="auto">Is there an opportunity to perform it using Notepad++? I can find string “131_1.txt” with regular expressions, but I don’t know how to replace or just insert zeroes.<br />
I can do it manually with vertical blocks, of course, but it’s interesting to do it automatically )</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14699/insertion-of-the-leading-zeros</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 09:36:28 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14699.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Oct 2017 15:01:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Insertion of the leading zeros on Sat, 28 Oct 2017 16:47:19 GMT]]></title><description><![CDATA[<p dir="auto">Brilliantly, it works! Thank you so much)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27691</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27691</guid><dc:creator><![CDATA[AndyOldShoe]]></dc:creator><pubDate>Sat, 28 Oct 2017 16:47:19 GMT</pubDate></item><item><title><![CDATA[Reply to Insertion of the leading zeros on Sat, 28 Oct 2017 15:44:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andyoldshoe" aria-label="Profile: AndyOldShoe">@<bdi>AndyOldShoe</bdi></a></p>
<p dir="auto">This thread will have information to help you in this task:  <a href="https://notepad-plus-plus.org/community/topic/13988/find-replace-issues" rel="nofollow ugc">https://notepad-plus-plus.org/community/topic/13988/find-replace-issues</a></p>
<p dir="auto">Since you have experience with regular expressions I will not do it for you, but will rather leave you to it!  :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27687</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27687</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sat, 28 Oct 2017 15:44:45 GMT</pubDate></item></channel></rss>