<?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[How do I create character blocks of specified length?]]></title><description><![CDATA[<p dir="auto">I was curious if there was a way to get the program to break large continous blocks of text (stuff converted to base 64, for example) into blocks of characters of a specified length so that they can be easily copied and pasted.</p>
<p dir="auto">For example:</p>
<p dir="auto">/9j/4AAQSkZJRgABAgAAAQABAAD/7QCcUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAIAcAmcAFHd0cks2MHpnR3R5a3pHYVNvNVZrHAIoAGJGQk1EMDEwMDBhYzEwMzAwMDAyYTI1MDAwMDZiNDYwMDAwM2U0OTAwMDA5ZjRiMDAwMGRkNWUwMDAwYmRhYzAwMDBlM2I0MDAwMDgzYmIwMDAwNzhjMTAwMDA4MjYzMDEwMP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfcAAEAGQADA</p>
<p dir="auto">to</p>
<p dir="auto">/9j/4  AAQSk  ZJRgA  BAgAA  AQABA AD/7Q CcUGh vdG9z aG9wI DMuMA A4Qkl NBAQA AAAAA IAcAm cAFHd 0cks2 MHpnR 3R5a3 pHYVN vNVZr HAIoA GJGQk 1EMDE wMDBh YzEwM zAwMD AyYTI 1MDAw MDZiN DYwMD AwM2U 0OTAw MDA5Z jRiMD AwMGR kNWUw MDAwY mRhYz AwMDB lM2I0 MDAwM DgzYm IwMDA wNzhj MTAwM DA4Mj YzMDE wMP/i AhxJQ 0NfUF JPRkl MRQAB AQAAA gxsY2 1zAhA  AAG1u  dHJSR  0IgWF  laIAf  cAAEA  GQADA</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/12219/how-do-i-create-character-blocks-of-specified-length</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 15:55:23 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12219.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Aug 2016 00:15:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How do I create character blocks of specified length? on Wed, 17 Aug 2016 09:42:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello Andrew,</p>
<p dir="auto">An other formulation, which <strong>separates</strong> any text in <strong>blocks</strong> of <strong>five</strong> characters long, <strong>whatever</strong> they are, would be :</p>
<p dir="auto">SEARCH <strong><code>.{5}(?=.)</code></strong></p>
<p dir="auto">REPLACE <strong><code>$0\x20</code></strong></p>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">The <strong><code>.{5}</code></strong> syntax matches for <strong>five consecutive standard</strong> characters</p>
</li>
<li>
<p dir="auto">I added the <strong>look-ahead</strong> form <strong><code>(?=.)</code></strong> , just to ensure that <strong>NO extra-space</strong> will be added, at the <strong>end</strong> of each long-line scan</p>
</li>
<li>
<p dir="auto">The <strong><code>$0</code></strong> syntax represents the match of the <strong>whole</strong> regex, that is to say, any block of <strong>five</strong> characters</p>
</li>
<li>
<p dir="auto">And <strong><code>\x20</code></strong> is, simply, the <strong>hexadecimal</strong> form of the <strong>space</strong> character</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/17352</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/17352</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 17 Aug 2016 09:42:44 GMT</pubDate></item><item><title><![CDATA[Reply to How do I create character blocks of specified length? on Wed, 17 Aug 2016 01:04:20 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, that didn’t work out i.e. trailing space not visible …</p>
<ul>
<li>… as above</li>
<li>Replace with: "<code>\1 </code>" i.e. backward-slash + one + space</li>
<li>… as above</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/17345</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/17345</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Wed, 17 Aug 2016 01:04:20 GMT</pubDate></item><item><title><![CDATA[Reply to How do I create character blocks of specified length? on Mon, 15 Aug 2016 02:05:09 GMT]]></title><description><![CDATA[<p dir="auto">Use search &amp; replace i.e.</p>
<ul>
<li>Ctrl-H</li>
<li>Find what: ([\w/]{5})</li>
<li>Replace with: \1</li>
<li>Search mode: Regular expression</li>
<li>Ctrl-A (Replace All)</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/17265</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/17265</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Mon, 15 Aug 2016 02:05:09 GMT</pubDate></item></channel></rss>