<?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[Removing punctuation before a line]]></title><description><![CDATA[<p dir="auto">How do I delete this punctuation before a line (dots and commas) when editing text!?<br />
Can there be such an opportunity in the editor to do this!?<img src="/assets/uploads/files/1590300611839-word.png" alt="word.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Как удалить вот эту пунктуацию перед строкой (точки и запятые) при редактировании текста!?<br />
Может есть такая возможность в редакторе это сделать!?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19452/removing-punctuation-before-a-line</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 05:54:36 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19452.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 24 May 2020 06:13:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Removing punctuation before a line on Fri, 29 May 2020 04:12:28 GMT]]></title><description><![CDATA[<p dir="auto">Yes, everything worked out, thank you!<br />
The first time I didn’t understand anything… the second time I didn’t notice my mistake…<br />
And the third time you read that I understood everything! :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54430</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54430</guid><dc:creator><![CDATA[УменяМодем ОграниченныйТрафик]]></dc:creator><pubDate>Fri, 29 May 2020 04:12:28 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Tue, 26 May 2020 23:46:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/%D1%83%D0%BC%D0%B5%D0%BD%D1%8F%D0%BC%D0%BE%D0%B4%D0%B5%D0%BC-%D0%BE%D0%B3%D1%80%D0%B0%D0%BD%D0%B8%D1%87%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA" aria-label="Profile: уменямодем-ограниченныйтрафик">@<bdi>уменямодем-ограниченныйтрафик</bdi></a> , <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">In the <strong>Find what:</strong> box you must type in the <strong>regex</strong> <strong><code>^[,.]</code></strong> ( <strong>NOT</strong>  <strong><code>[,.]</code></strong> )</p>
<p dir="auto">From this picture <strong>below</strong>, you should hold <strong>down</strong> the <strong><code>Shift</code></strong> key and hit the <strong><code>^ 6 ,</code></strong> key on <strong>top</strong> of your <strong>main</strong> keyboard to produce the <strong><code>^</code></strong> character, which is the <strong>regex</strong> char for <strong>beginning</strong> of line !</p>
<p dir="auto"><img src="/assets/uploads/files/1590536758016-330e7d2b-944c-4567-aeca-3ffe8b0478be-image.png" alt="330e7d2b-944c-4567-aeca-3ffe8b0478be-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54361</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54361</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 26 May 2020 23:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Tue, 26 May 2020 23:32:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D1%83%D0%BC%D0%B5%D0%BD%D1%8F%D0%BC%D0%BE%D0%B4%D0%B5%D0%BC-%D0%BE%D0%B3%D1%80%D0%B0%D0%BD%D0%B8%D1%87%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA" aria-label="Profile: УменяМодем-ОграниченныйТрафик">@<bdi>УменяМодем-ОграниченныйТрафик</bdi></a> ,</p>
<p dir="auto">If every dot and comma disappeared, you did not enter the <strong>Find what</strong> expression correctly.  provide a screenshot.</p>
<p dir="auto">In my example screenshot, there are only two matches, despite having four commas or periods.  That’s because the search expression anchors to the start-of-line with the <code>^</code></p>
<p dir="auto"><img src="/assets/uploads/files/1590535615416-f730b2ca-b736-4ee2-bc7c-647d73fe9989-image.png" alt="f730b2ca-b736-4ee2-bc7c-647d73fe9989-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If I replace all, then I get:<br />
<img src="/assets/uploads/files/1590535680473-884d4913-ad1a-4704-9d0c-d91b45645118-image.png" alt="884d4913-ad1a-4704-9d0c-d91b45645118-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Notice that it did <em>not</em> delete all commas and periods, but just the ones at the beginning of the line.</p>
<p dir="auto">I am assuming you forgot to include the <code>^</code> at the beginning of the  expression, or otherwise didn’t type things exactly as <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> described and I showed the screenshot.  Please show a screenshot of your Replace dialog both before and after hitting <strong>Replace All</strong> to show exactly what you are trying.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54360</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54360</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 26 May 2020 23:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Tue, 26 May 2020 21:48:28 GMT]]></title><description><![CDATA[<p dir="auto">I’ve tried this, all dots and commas disappear from the entire text!<br />
I need it to disappear before the line!<br />
This can be done!? - To disappear the dots and commas before the line as in my picture!?<br />
I don’t need to delete punctuation from the entire text!<br />
Only where the arrows show!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54359</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54359</guid><dc:creator><![CDATA[УменяМодем ОграниченныйТрафик]]></dc:creator><pubDate>Tue, 26 May 2020 21:48:28 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Mon, 25 May 2020 16:36:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D1%83%D0%BC%D0%B5%D0%BD%D1%8F%D0%BC%D0%BE%D0%B4%D0%B5%D0%BC-%D0%BE%D0%B3%D1%80%D0%B0%D0%BD%D0%B8%D1%87%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA" aria-label="Profile: УменяМодем-ОграниченныйТрафик">@<bdi>УменяМодем-ОграниченныйТрафик</bdi></a> said in <a href="/post/54287">Removing punctuation before a line</a>:</p>
<blockquote>
<p dir="auto">I didn’t understand anything on the first point - all that after Ctrl + H</p>
</blockquote>
<p dir="auto">Given your username, I am guessing that English isn’t your native tongue, which is fine.  But if you are having trouble understanding the answers, try passing them through a translator like <a href="http://deepl.com" rel="nofollow ugc">deepl.com</a> or <a href="http://translate.google.com" rel="nofollow ugc">translate.google.com</a></p>
<p dir="auto">About the most confusing part of <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a>’s answer was that he indicated setting the <strong>Replace With</strong> field/box empty by using <code>EMPTY</code>, which strongly implies literal text, which wasn’t what he was intending.</p>
<p dir="auto">For this time, I will supply a picture for you.  I have marked up <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a>’s instructions with numbers in red, then put red notes on the dialog’s screenshot, so you can see how his instructions map to what actually appears.  Fill out the <strong>Replace</strong> box so it looks like this:<br />
<img src="/assets/uploads/files/1590424480210-f9f485ca-c337-4c4b-bbf3-7e4aa741081e-image.png" alt="f9f485ca-c337-4c4b-bbf3-7e4aa741081e-image.png" class=" img-fluid img-markdown" /><br />
After it’s filled out, click the <strong>Replace All</strong> button, or whatever that button says in your preferred language.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54290</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54290</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 25 May 2020 16:36:18 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Mon, 25 May 2020 15:44:15 GMT]]></title><description><![CDATA[<p dir="auto">I didn’t understand anything on the first point - all that after Ctrl + H</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54287</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54287</guid><dc:creator><![CDATA[УменяМодем ОграниченныйТрафик]]></dc:creator><pubDate>Mon, 25 May 2020 15:44:15 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Sun, 24 May 2020 21:34:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/%D1%83%D0%BC%D0%B5%D0%BD%D1%8F%D0%BC%D0%BE%D0%B4%D0%B5%D0%BC-%D0%BE%D0%B3%D1%80%D0%B0%D0%BD%D0%B8%D1%87%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA" aria-label="Profile: уменямодем-ограниченныйтрафик">@<bdi>уменямодем-ограниченныйтрафик</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">So, I’m going to follow <a href="https://en.wikipedia.org/wiki/Rubber_duck_debugging" rel="nofollow ugc">Rubber Duck</a> method , too ;-))</p>
<p dir="auto"><strong>A)</strong> Regarding the <strong>first</strong> option :</p>
<p dir="auto">Assuming that <strong>all</strong> your lines <strong>begin</strong> with, either a <strong>comma</strong> or a <strong>dot</strong>, here is the method to <strong>delete</strong> these <strong>first</strong> characters with a <strong>search/replacement</strong>, already mentioned by <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> :</p>
<ul>
<li>
<p dir="auto">Open the <strong>Replace</strong> dialog ( <strong><code>Ctrl + H</code></strong> )</p>
</li>
<li>
<p dir="auto">Type in the <strong>regex</strong> <strong><code>^[,.]</code></strong> in the <strong>Find what:</strong> zone</p>
</li>
<li>
<p dir="auto">Leave the <strong>Replace with:</strong> zone <strong><code>EMPTY</code></strong></p>
</li>
<li>
<p dir="auto"><strong>Tick</strong> the <strong><code>Wrap around</code></strong> option</p>
</li>
<li>
<p dir="auto"><strong>Select</strong> the <strong><code>Regular expression</code></strong> search mode</p>
</li>
<li>
<p dir="auto"><strong>Left</strong>-click on the <strong><code>Replace All</code></strong> button</p>
</li>
</ul>
<p dir="auto">=&gt; <em>DONE</em> !</p>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">The <strong><code>^</code></strong> is an <strong>assertion</strong> which looks for a <strong>beginning</strong> of line</p>
</li>
<li>
<p dir="auto">The <strong><code>[,.]</code></strong> is a <strong>class-character</strong> structure, which searches, either for a <strong><code>comma</code></strong> or a <strong><code>dot</code></strong> symbol</p>
</li>
</ul>
<hr />
<p dir="auto"><strong>B)</strong> Regarding the <strong>second</strong> option :</p>
<p dir="auto">The <strong>usual</strong> way to perform a <strong><code>Column Mode</code></strong> selection is to use the <strong><code>Shift + Alt + Arrows</code></strong> shortcuts, as mentioned by <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">However, in case of an <strong>huge</strong> selection, the <strong>easy</strong> solution is to use the <strong><code>Begin/End Select</code></strong> feature ! Here is the <strong>road map</strong> :</p>
<ul>
<li>
<p dir="auto">Hit the <strong><code>Ctrl + Home</code></strong> shortcut to move to the <strong>very beginning</strong> of the <strong>first</strong> line of your <strong>current</strong> file</p>
</li>
<li>
<p dir="auto">Run the menu option <strong><code>Edit &gt; Begin/End Select</code></strong></p>
</li>
<li>
<p dir="auto">Now, hit the <strong><code>Ctrl + End</code></strong> shortcut to move to the <strong>very end</strong> of your file</p>
</li>
<li>
<p dir="auto">Press and <strong>hold down</strong> the <strong><code>ALT</code></strong> key and <strong>left</strong> click <strong>after</strong> the first <strong><code>comma</code></strong> or <strong><code>dot</code></strong> of the <strong>last</strong> line to select</p>
</li>
<li>
<p dir="auto">Choose, again, the menu option <strong><code>Edit &gt; Begin/End Select</code></strong></p>
</li>
</ul>
<p dir="auto">=&gt; After a <strong>while</strong>, needed to process <strong>all</strong> the lines of your <strong>current</strong> file, you should notice your <strong><code>one</code></strong>-column <strong>rectangular</strong> selection !</p>
<ul>
<li>Finally, press the <strong><code>Delete</code></strong> key to suppress this <strong>first</strong> column</li>
</ul>
<p dir="auto">=&gt; <em>DONE</em> !</p>
<p dir="auto"><strong>Note</strong> : If you forget to hold <strong>down</strong> the <strong><code>ALT</code></strong> key, when located at the <strong>last</strong> line, you, obviously, get a <strong>normal</strong> selection of <strong>all</strong> your text !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54270</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54270</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 24 May 2020 21:34:34 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Sun, 24 May 2020 19:39:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D1%83%D0%BC%D0%B5%D0%BD%D1%8F%D0%BC%D0%BE%D0%B4%D0%B5%D0%BC-%D0%BE%D0%B3%D1%80%D0%B0%D0%BD%D0%B8%D1%87%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA" aria-label="Profile: УменяМодем-ОграниченныйТрафик">@<bdi>УменяМодем-ОграниченныйТрафик</bdi></a> said in <a href="/post/54254">Removing punctuation before a line</a>:</p>
<blockquote>
<p dir="auto">the first option I did not understand, I am a novice - I do not understand what you mean, what are you talking about here!?</p>
</blockquote>
<p dir="auto">Really?<br />
You are using a text editor and you don’t know about <em>searching</em> or how to do it??</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54263</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54263</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 24 May 2020 19:39:14 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Sun, 24 May 2020 18:42:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D1%83%D0%BC%D0%B5%D0%BD%D1%8F%D0%BC%D0%BE%D0%B4%D0%B5%D0%BC-%D0%BE%D0%B3%D1%80%D0%B0%D0%BD%D0%B8%D1%87%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA" aria-label="Profile: УменяМодем-ОграниченныйТрафик">@<bdi>УменяМодем-ОграниченныйТрафик</bdi></a> said in <a href="/post/54254">Removing punctuation before a line</a>:</p>
<blockquote>
<p dir="auto">first option I did not understand</p>
</blockquote>
<p dir="auto">The first solution of <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> refers to the find dialog.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54259</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54259</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 24 May 2020 18:42:48 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Sun, 24 May 2020 16:09:39 GMT]]></title><description><![CDATA[<p dir="auto">The second option is known to me, and is not suitable for a megabyte of text, and the first option I did not understand, I am a novice - I do not understand what you mean, what are you talking about here!?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54254</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54254</guid><dc:creator><![CDATA[УменяМодем ОграниченныйТрафик]]></dc:creator><pubDate>Sun, 24 May 2020 16:09:39 GMT</pubDate></item><item><title><![CDATA[Reply to Removing punctuation before a line on Sun, 24 May 2020 11:14:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D1%83%D0%BC%D0%B5%D0%BD%D1%8F%D0%BC%D0%BE%D0%B4%D0%B5%D0%BC-%D0%BE%D0%B3%D1%80%D0%B0%D0%BD%D0%B8%D1%87%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA" aria-label="Profile: УменяМодем-ОграниченныйТрафик">@<bdi>УменяМодем-ОграниченныйТрафик</bdi></a></p>
<p dir="auto">A search should find it:  <code>^[.,]</code><br />
Set <em>Search mode</em> to <em>Regular expression</em> first.<br />
If you can find it you can remove it by replacing it with nothing.</p>
<p dir="auto">There are other ways as well; you could column-block-select the first column (Shift+Alt+arrows) and then when you have the correct selection, press the <em>Delete</em> key.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54235</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54235</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 24 May 2020 11:14:04 GMT</pubDate></item></channel></rss>