<?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[Remove columns from a file]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I am struggling to find a regex command to remove a set of columns from my file , like column 5 to 22 for example , regardless of the file content.</p>
<p dir="auto">The file is massive so I need to use regex and not the mouse or cursor.</p>
<p dir="auto">Any help would be appreciated.</p>
<p dir="auto">Regards.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20616/remove-columns-from-a-file</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 23:58:29 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20616.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Jan 2021 17:37:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Remove columns from a file on Sat, 21 Jan 2023 12:59:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said in <a href="/post/83497">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">Why didn’t you choose the Alt + B shortcut for the Begin/End Select command ?</p>
</blockquote>
<p dir="auto">It is a possible choice, certainly.</p>
<p dir="auto">I didn’t choose it because to me, <strong>Alt + <em>letter</em></strong> means I’m opening a main menu category, i.e., <strong>Alt+f</strong> drops the <em>File</em> menu, <strong>Alt+s</strong> drops the <em>Search</em> menu, etc.</p>
<p dir="auto">And, if I have to press Alt, I usually have to “find the key”, whereas Shift and/or Ctrl are just more naturally located.</p>
<p dir="auto">Actually, from long Notepad++ usage, Alt in combination with Shift – for column mode selecting – is an “easy find” as well.  But Alt by itself is harder for me.</p>
<p dir="auto">So if I’m going to make a feature request, I take advantage of that and suggest things that work well for me!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/83498</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83498</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 21 Jan 2023 12:59:29 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Sat, 21 Jan 2023 12:55:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a>,</p>
<p dir="auto">Why didn’t you choose the <strong><code>Alt + B</code></strong> shortcut for the <strong><code>Begin/End Select</code></strong> command, in your <strong>GitHub</strong> feature request ?</p>
<p dir="auto">It would match <strong>nicely</strong> with the <strong><code>Alt + Shift + B</code></strong> shortcut for your <strong>future</strong> macro !?</p>
<p dir="auto">BR</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/83497</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83497</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 21 Jan 2023 12:55:50 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Sat, 21 Jan 2023 12:20:43 GMT]]></title><description><![CDATA[<p dir="auto">I created two new feature requests relating to keybinding for begin/end select functionality, related to some of the above discussion:</p>
<ul>
<li>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12832" rel="nofollow ugc">Assign default shortcut keycombo of Ctrl+Shift+b to Begin/End Select command</a></p>
</li>
<li>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12833" rel="nofollow ugc">Add new example macro for Begin/End Select in column mode</a></p>
</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/83495</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83495</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 21 Jan 2023 12:20:43 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Wed, 20 Jan 2021 04:13:45 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<a class="plugin-mentions-user plugin-mentions-a" href="/user/laurent" aria-label="Profile: Laurent">@<bdi>Laurent</bdi></a><br />
Please try these steps, To Remove columns from a file</p>
<p dir="auto">Use <strong>Alt+Shift+navigation keys</strong>, or <strong>Alt+Shift</strong>+click to do a block select of just that column. Then simply press <strong>Del</strong>.</p>
<p dir="auto">I hope this information will be useful to you.<br />
Thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62044</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62044</guid><dc:creator><![CDATA[prahladmifour]]></dc:creator><pubDate>Wed, 20 Jan 2021 04:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 22:02:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">My first thought was status bar as well, but in observing some of the “issue” discussion, there seems to be some opposition by the devs to ever altering what it shows.</p>
<p dir="auto">I guess I mean by <em>adding</em> new fields; I have seen recent <em>tweaks</em> to the status bar for showing the current position – which is great for me as a PythonScript programmer, BTW – but some people have requested Zoom level on the status bar, which I find reasonable, and have been shot down, presumably because it would be a brand-new thing?</p>
<p dir="auto">As an alternate to status bar, would it be reasonable to perhaps invert the colors of the line number margin, for example, in between “begin” and “end” select?  I suppose not everyone has that margin turned on, although I find that unfathomable.</p>
<p dir="auto">Uh oh, I think I just found a bug with Begin/End Select.  It doesn’t restrict itself to the active tab – if you begin a select in one tab and end it in another, you get interesting results! :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62036</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62036</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 22:02:55 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 21:47:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/62031">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">Any agreement on that?</p>
</blockquote>
<p dir="auto">++ I would be much more likely to train myself to use that feature – both in normal and column select modes – if I had such a status indicator.</p>
<p dir="auto">Given that Scott recently updated the selection status section of the status bar, he might be convinced to add the Begin/End Selection state there, if someone were to suggest it to him.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62032</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62032</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 19 Jan 2021 21:47:28 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 21:39:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">Okay, I will have to do some more trials with the “beeping” thing…</p>
<p dir="auto">While we’re on the topic of <em>Begin/End Select</em> … it is a great feature only missing one thing:  Some type of visual indication that the “begin” has been done and the “end” is what is pending.  Any agreement on that?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62031</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62031</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 21:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 21:32:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/62029">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">Something sounds suspicious about this…<br />
Does it remain after a restart?</p>
</blockquote>
<p dir="auto">It remains after a restart of Notepad++, yes.</p>
<p dir="auto">I unzipped a fresh Notepad++, ran it, and verified that Alt+Shift+B beeps at me.  Then I assigned the normal Begin/End Selection to Alt+Shift+B.  From that moment on, it stopped beeping at me.  Even if I restarted that fresh instance.  If I go into a different program’s window (say, notepad.exe) and Alt+Shift+B, it will beep at me because of no such accelerator.</p>
<p dir="auto">As far as I can tell, I don’t need to have ever assigned Alt+B to make Alt+Shift+B stop beeping.</p>
<p dir="auto"><strong>Edit</strong>: and if I un-assign Alt+Shift+B in either instance of Notepad++, it starts beeping at me again.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62030</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62030</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 19 Jan 2021 21:32:17 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 21:26:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/62025">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">I also verified that using the macro to both Begin and End the column selection worked</p>
</blockquote>
<p dir="auto">I never thought of “starting” that way, but yes, it should and does work.<br />
Nice one!</p>
<blockquote>
<p dir="auto">Nope. I unassigned Begin/End Selection, and left Alt+Shift+B on the macro, and Alt+Shift+B still didn’t ring the bell.</p>
</blockquote>
<p dir="auto">Something sounds suspicious about this…<br />
Does it remain after a restart?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62029</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62029</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 21:26:08 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 20:59:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/62023">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/62022">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">when I map the Begin/End Selection to Alt+B and the Macro (Alt+Shift+RightArrow,Alt+Shift+LeftArrow,Being/End Selection) to Alt+Shift+B, the Alt+Shift+B stops ringing the bell.</p>
</blockquote>
<p dir="auto">That’s interesting.<br />
Does that mean that somehow when invoking the Alt+Shift+b, it knows somehow that Alt+b is assigned to some function in Notepad++ (and thus is not an non-existent menu command)?</p>
</blockquote>
<p dir="auto">Nope. I unassigned Begin/End Selection, and left Alt+Shift+B on the macro, and Alt+Shift+B still didn’t ring the bell.</p>
<p dir="auto">I also verified that using the macro to both Begin and End the column selection worked.  Since I don’t have the years of training on Ctrl+B, I might just train myself to Alt+Shift+B for begin and end column selection. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62025</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62025</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 19 Jan 2021 20:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 20:55:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/62022">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">when I map the Begin/End Selection to Alt+B and the Macro (Alt+Shift+RightArrow,Alt+Shift+LeftArrow,Being/End Selection) to Alt+Shift+B, the Alt+Shift+B stops ringing the bell.</p>
</blockquote>
<p dir="auto">That’s interesting.<br />
Does that mean that somehow when invoking the Alt+Shift+b, it knows somehow that Alt+b is assigned to some function in Notepad++ (and thus is not an non-existent menu command)?</p>
<p dir="auto">I feel like I want to map Alt+b to nothing (SCI_NULL ?) just so the bell will not ring if I changed my macro to be Shift+Alt+b.<br />
I certainly don’t want my <em>Begin / End Select</em> command mapped to Alt+b instead of Ctrl+b – after years of having it on Ctrl+b, it would be hard to get used to.  Plus, in my mind, Alt+something IS for dropping a menu, unless combined with Shift as well.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62023</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62023</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 20:55:35 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 20:47:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/62021">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">I wanted it to be Shift+Alt+b instead, however, I found that combination will “ring the bell” on my machine</p>
</blockquote>
<p dir="auto">I believe it’s because in most Windows apps, including Notepad++, the <code>Alt+</code>letter or <code>Alt+Shift+</code>letter will try to activate the menu with that accelerator value.  If that accelerator doesn’t exist, then it will beep at you.</p>
<p dir="auto">However, when I map the Begin/End Selection to <code>Alt+B</code> and the Macro (<code>Alt+Shift+RightArrow</code>,<code>Alt+Shift+LeftArrow</code>,<code>Being/End Selection</code>) to <code>Alt+Shift+B</code>, the <code>Alt+Shift+B</code> stops ringing the bell.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62022</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62022</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 19 Jan 2021 20:47:40 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 20:31:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said in <a href="/post/62019">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">I just meant that we could replace the two shortcuts Alt + Shift+ Left and Alt + Shift+ Right with Alt + Left-mouse click !</p>
</blockquote>
<p dir="auto">Still too burdensome, if my hands are on the keyboard. :-)<br />
But, in truth, I have a macro for those two combinations anyway plus <em>Begin/End Select</em>, tied to Shift+Ctrl+b.<br />
Thus if I’m doing a normal <em>Begin/End Select</em>, I do two Ctrl+b, one at each end of my block.<br />
But if I’m intending to do a <em>column</em> version of same, I start it with a Ctrl+b, move to my endpoint, and do Shift+Ctrl+b.</p>
<p dir="auto">Initially, I wanted it to be Shift+Alt+b instead, however, I found that combination will “ring the bell” on my machine, which I found very annoying.  It seems to do this because “Alt” is involved.  Does anyone know how to prevent this, if it doesn’t just happen to me?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62021</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62021</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 20:31:13 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Wed, 20 Jan 2021 00:18:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/laurent" aria-label="Profile: laurent">@<bdi>laurent</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">When I talk about <strong>simplification</strong>, it’s a great <strong>big</strong> word !</p>
<p dir="auto">I just meant that we could <strong>replace</strong> the <strong>two</strong> shortcuts <strong><code>Alt + Shift+ Left</code></strong> and <strong><code>Alt + Shift+ Right</code></strong> with <strong><code>Alt + Left-mouse click</code></strong> !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62019</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62019</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 20 Jan 2021 00:18:17 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 19:57:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurent" aria-label="Profile: Laurent">@<bdi>Laurent</bdi></a> said in <a href="/post/62017">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">I quite like <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> method too =&gt;    (?-s)^.{4}\K.{1,18}</p>
</blockquote>
<p dir="auto">It’s a good method, with one limitation:  it uses <code>\K</code> which can’t be used with step-by-step <em>Replace</em> and must be used with a blanket <em>Replace All</em>.</p>
<p dir="auto">This is fine, except that often when people are given a cryptic regex that does something, their first inclination is to try and do a one-at-a-time replacement to verify it is working. Then they notice that it isn’t changing their data, and, well, this just makes the confusion grow.</p>
<p dir="auto">I prefer to not use <code>\K</code> in solutions, for this reason, unless it really makes sense to (speeds up execution dramatically – which may be the case, here – or there is no other way of achieving a goal).</p>
<p dir="auto">Of course, <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said to use <em>Replace All</em>, but still…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62018</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62018</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 19:57:49 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 19:51:31 GMT]]></title><description><![CDATA[<p dir="auto">Thx again all for the follow up, I quite like <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> method too =&gt;    (?-s)^.{4}\K.{1,18}</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62017</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62017</guid><dc:creator><![CDATA[Laurent]]></dc:creator><pubDate>Tue, 19 Jan 2021 19:51:31 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 18:57:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said in <a href="/post/62012">Remove columns from a file</a>:</p>
<blockquote>
<p dir="auto">your method can even be simplified</p>
</blockquote>
<p dir="auto">It really isn’t a simplification; it’s just the equivalent way for mouse-junkies.<br />
Since most of my time is spent typing text (well, this is a text editor after all), my hands are most often on the keyboard, not the mouse.</p>
<blockquote>
<p dir="auto">It worth to define a shortcut for the Begin/End Select operation</p>
</blockquote>
<p dir="auto">I agree; my favorite for this is assigning to Ctrl+b</p>
<hr />
<p dir="auto">NOTE: I had a copy/paste error in my bullet point above; it should have read:</p>
<ul>
<li>Move the caret to <em><strong>the last line of the file</strong></em>, column 22.</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/62013</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62013</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 18:57:33 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 20:10:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/laurent" aria-label="Profile: laurent">@<bdi>laurent</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-kilborn">@<bdi>Alan-kilborn</bdi></a>, your method can even be <strong>simplified</strong> :</p>
<ul>
<li>
<p dir="auto"><strong>Left</strong>-mouse click at the <strong>beginning</strong> of the expected <strong>rectangular</strong> selection</p>
</li>
<li>
<p dir="auto">Select the <strong>Edit &gt; Begin/End Select</strong> menu option ( The option is automatically <strong>checked</strong> )</p>
</li>
<li>
<p dir="auto">Move to the location where the <strong>rectangular</strong> selection must <strong>stop</strong></p>
</li>
<li>
<p dir="auto">Hit the <strong><code>ALT</code></strong> key and, <strong>simultaneously</strong>, <strong>left</strong>-mouse click, at this <strong>end</strong> location</p>
</li>
<li>
<p dir="auto">Release the <strong><code>ALT</code></strong> key</p>
</li>
<li>
<p dir="auto">Select, again, the <strong>Edit &gt; Begin/End Select</strong> menu option ( The option is automatically <strong>unchecked</strong> )</p>
</li>
</ul>
<p dir="auto">=&gt; A <strong>rectangular</strong> selection should appear between the <strong>columns</strong> defined by the <strong>two left</strong>-mouse clicks ;-))</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S.</strong> :</p>
<p dir="auto">It worth to define a <strong>shortcut</strong> for the <strong><code>Begin/End Select</code></strong> operation ( Line <strong><code>26</code></strong> ) in the <strong>Shortcut Mapper</strong></p>
]]></description><link>https://community.notepad-plus-plus.org/post/62012</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62012</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 19 Jan 2021 20:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 18:16:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurent" aria-label="Profile: Laurent">@<bdi>Laurent</bdi></a></p>
<p dir="auto">You could also use the keyboard/mouse to do it, even on a massive file.<br />
The key to doing it is using the <em>Begin / End Select</em> feature on the <em>Edit</em> menu.</p>
<p dir="auto">Here’s how, for example:</p>
<ul>
<li>Move to top-of-file (Ctrl+Home)</li>
<li>Move the caret to line 1, column 5.</li>
<li>Run <em>Begin / End Select</em>.</li>
<li>Move to bottom-of-file (Ctrl+End)</li>
<li>Move the caret to line 1, column 22.</li>
<li>Press Alt+Shift+right and then Alt+Shift+left (gets you into “column mode”)</li>
<li>Run <em>Begin / End Select</em>.</li>
</ul>
<p dir="auto">Your column mode selection should be made across the entire file (it may take some time for the selection to appear if the file is truly on the massive scale).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62011</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62011</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 18:16:10 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 18:10:39 GMT]]></title><description><![CDATA[<p dir="auto">Thank you all for your replies.</p>
<p dir="auto">The command from <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a>  is what I was looking for.</p>
<p dir="auto">Brilliant, Cheers Alan !</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62009</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62009</guid><dc:creator><![CDATA[Laurent]]></dc:creator><pubDate>Tue, 19 Jan 2021 18:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 18:18:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/laurent" aria-label="Profile: laurent">@<bdi>laurent</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: ekopalypse">@<bdi>ekopalypse</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a>, and <strong>All</strong></p>
<p dir="auto">This S/R should work :</p>
<ul>
<li>
<p dir="auto">SEARCH <strong><code>(?-s)^.{4}\K.{1,18}</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Replace All</code></strong> button, <strong>exclusively</strong> !</p>
</li>
<li>
<p dir="auto">If lines have <strong>less</strong> than <strong><code>22</code></strong> characters, each character after position <strong><code>4</code></strong> is <strong>deleted</strong></p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62007</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62007</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 19 Jan 2021 18:18:16 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 18:05:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurent" aria-label="Profile: Laurent">@<bdi>Laurent</bdi></a></p>
<p dir="auto">I guess the idea in general is like this:</p>
<p dir="auto">find: <code>(?-s)^(.{4}).{17}</code><br />
repl: <code>${1}</code></p>
<p dir="auto">But as <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> , there may be some pitfalls.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62005</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62005</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 19 Jan 2021 18:05:07 GMT</pubDate></item><item><title><![CDATA[Reply to Remove columns from a file on Tue, 19 Jan 2021 17:51:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurent" aria-label="Profile: Laurent">@<bdi>Laurent</bdi></a></p>
<p dir="auto">the first thing you need to figure out is what a column is or how it can be detected.<br />
Without such an information it is nearly impossible to form a proper regex.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62004</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62004</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 19 Jan 2021 17:51:14 GMT</pubDate></item></channel></rss>