<?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[New user having trouble getting line&#x2F;blank operations to work]]></title><description><![CDATA[<p dir="auto">I’m a new Notepad++ user, trying to use this software to create more readable transcripts (generated by <a href="http://downsub.com" rel="nofollow ugc">downsub.com</a>). I have transcripts that look something like this (I put periods where blank spaces should be to show how some sentences are separated by one blank line while others are separated by two):</p>
<p dir="auto">sentence 1<br />
sentence 2<br />
.<br />
sentence 3<br />
.<br />
.<br />
sentence 4<br />
.<br />
sentence 5<br />
sentence 6</p>
<p dir="auto">Ideally, what I’d like to do is have a final transcript that looks like this:</p>
<p dir="auto">sentence 1 sentence 2 sentence 3</p>
<p dir="auto">sentence 4 sentence 5 sentence 6</p>
<p dir="auto">What I need to do is find a way to combine consecutive sentences as well as sentences separated by a single blank line into one paragraph, while preserving paragraph breaks where two blank lines would be.</p>
<p dir="auto">For some reason, though, I can’t get the functions ‘join lines’, ‘remove leading and trailing space’, or ‘remove empty lines/remove empty lines (containing blank characters)’ to work, whether I’m highlighting groups of lines or highlighting nothing at all when selecting these functions. When I try joining lines, <em>something</em> seems to happen because the selection highlight moves from the first line in the group to the last one, but nothing changes in terms of appearance. The functions to remove leading and trailing space as well as removing empty lines seems to do nothing at all.</p>
<p dir="auto">I tried some of the find and replace functions other users have posted about online but haven’t gotten any of them to work. I also updated Notepad++ to see if the software being out of date could’ve been causing these issues, but that didn’t help either. I’m genuinely stumped over what I could be doing wrong. If someone could help me figure out a solution, I’d really appreciate it.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22572/new-user-having-trouble-getting-line-blank-operations-to-work</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 22:28:55 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22572.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Feb 2022 02:06:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Fri, 18 Feb 2022 04:58:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> For some reason I can’t use any regexs on the <code>LF</code> versions of these transcripts - I get an error message about the document being read only. Guy038 wrote a new regex that worked like a charm, though.</p>
<p dir="auto">Thanks again for your help leading me through this. I appreciate it :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74339</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74339</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Fri, 18 Feb 2022 04:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Fri, 18 Feb 2022 04:53:53 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> It worked!!! I’m so glad - thanks so much for your help with this! :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74338</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74338</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Fri, 18 Feb 2022 04:53:53 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Wed, 16 Feb 2022 07:53:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</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">OK, I understood… Each time a <strong>line-break</strong> occurs in <a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a>’s text, it may be <strong>preceded</strong> by possible <strong>horizontal space</strong> characters, like <strong><code>\x20</code></strong> , <strong><code>\xa0</code></strong> or <strong><code>\t</code></strong>. Moreover, if some <strong>horizontal space</strong> chars are found <strong>between</strong> words, they may be <strong>different</strong> from a simple <strong><code>space</code></strong> char. So, a solution could be :</p>
<ul>
<li>
<p dir="auto">Open the <strong>Replace</strong> dialog ( <strong><code>Ctrl + H</code></strong> )</p>
<ul>
<li>
<p dir="auto">SEARCH <strong><code>(\h*\R){3,}|(\h*\R){1,2}|(?![\r\n])([\t\xa0]+|\x20{2,})(?!\R)</code></strong></p>
<ul>
<li>REPLACE <strong><code>(?1\r\n\r\n)(?2\x20)?3\x20</code></strong>    if the <strong>line endings</strong> must be <strong><code>CRLF</code></strong>, <strong>after</strong> replacement</li>
</ul>
</li>
<li>
<p dir="auto">OR</p>
<ul>
<li>
<p dir="auto">REPLACE <strong><code>(?1\n\n)(?2\x20)?3\x20</code></strong>    if the <strong>line endings</strong> must be <strong><code>LF</code></strong>, <strong>after</strong> replacement</p>
</li>
<li>
<p dir="auto"><strong>Untick</strong> all <strong>box</strong> options</p>
</li>
<li>
<p dir="auto">Tick the <strong><code>Wrap around</code></strong> option</p>
</li>
<li>
<p dir="auto">Select the <strong><code>Regular expression</code></strong> search <strong>mode</strong></p>
</li>
<li>
<p dir="auto">Click <strong>once</strong> on the <strong><code>Replace All</code></strong> button or <strong>several</strong> times, till the end of process, on the <strong><code>Replace</code></strong> button</p>
</li>
<li>
<p dir="auto">Hit the <strong><code>ESC</code></strong> button to close the <strong>Replace</strong> dialog</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<hr />
<p dir="auto"><strong>Note</strong> : May be, you’ll have to <strong>delete</strong> the <strong>last</strong> <strong><code>space</code></strong> character at the <strong>very end</strong> of your text. Not a big task, anyway !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74254</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74254</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 16 Feb 2022 07:53:31 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Wed, 16 Feb 2022 04:57:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> said in <a href="/post/74248">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">using a version of the transcript with CRLF line endings and NBSPs intact (I just copied and pasted the text into Notepad++ rather than downloading the transcript file and selecting Open in Notepad++, which yields LF line endings and gives the error message that the document is read only when trying to run expressions).</p>
</blockquote>
<p dir="auto">I meant for you to use the “original” version with the LF. If you rather use an already altered version you need to let us know. Regex are created specifically for a task using the data in a pre-determined format. Altering anything in the data will very likely throw out the result, as you saw.</p>
<p dir="auto">What you could try is this altered Find What code:<br />
<code>(\xa0|\x20)(?=([\xa0\x20])?)|\R([\xa0\x20]*\R([\xa0\x20]*\R)?)?</code><br />
however I haven’t tested it</p>
<p dir="auto">Terry</p>
<p dir="auto">PS I actually explained what my regex was doing, I thought it would have been obvious it was concerned with the LF version.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74249</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74249</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 16 Feb 2022 04:57:54 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Wed, 16 Feb 2022 03:41:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> Just gave it a try, using a version of the transcript with <code>CRLF</code> line endings and NBSPs intact (I just copied and pasted the text into Notepad++ rather than downloading the transcript file and selecting Open in Notepad++, which yields <code>LF</code> line endings and gives the error message that the document is read only when trying to run expressions).</p>
<p dir="auto">The NBSPs were removed and <code>CRLF</code> line endings changed to just <code>CR</code>, but the lines themselves were unchanged/no lines were merged. I checked Regular expression and Wrap around and left the Transparency box blank. Thanks again for helping me with this, I really appreciate it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74248</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74248</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Wed, 16 Feb 2022 03:41:43 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Wed, 16 Feb 2022 00:26:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> said in <a href="/post/74244">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">There’s a real chance 1 regex can do it all! You’d open the “original” transcript in Notepad++, hit a macro and voila, the result appears as you want it.</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a><br />
I think I have the 1 regex to do:</p>
<ol>
<li>convert NBSP (\xa0) into ordinary spaces (\x20).</li>
<li>remove multiple spaces together, replacing with 1 ordinary space.</li>
<li>remove 1 or 2 line feeds with possible spaces\NBSP in between (\n seen as LF).</li>
<li>make any 3 line feeds together (with possible spaces\NBSP in between) just a single CRLF (Windows carriage return\line feed).</li>
</ol>
<p dir="auto">So with your original transcript you should be able to open that in Notepad++, copy the next 2 bits of code (highlighted in red, just use copy and paste) into the appropriate field in the Replace function and click on Replace All.</p>
<p dir="auto">Find What:<code>(\xa0|\x20)(?=([\xa0\x20])?)|\n([\xa0\x20]*\n([\xa0\x20]*\n)?)?</code><br />
Replace With:<code>(?{1}(?{2}:\x20))(?{4}\r\n)</code></p>
<p dir="auto">It will look complicated, don’t worry about that at the moment. I will describe what it is doing, once you confirm it works as expected.</p>
<p dir="auto">Let us know how it went. As you only provided a small sample there is a chance it may miss something to which you were unaware of, this happens.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74247</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74247</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 16 Feb 2022 00:26:35 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 23:55:05 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>
<pre><code>single spaced
will be joined

as will double-spaced


but not triple spaced
</code></pre>
<p dir="auto">What does triple spaced mean in this context? I ran the expression and everything was merged into one long, single paragraph. There are extra spaces left between words (between 2-5 spaces) but those are easy to edit out with search/replace. Let me post a before and after:</p>
<p dir="auto"><em>Before</em></p>
<pre><code>Imagine the day a civilization discovers the  

starry night sky above contains billions of 
billions of worlds awaiting their arrival.  

Now imagine the day they realize 
those voyages will never be made.
 

So earlier this week we were talking about Kessler 
Syndrome, collision cascades around planets that 
</code></pre>
<p dir="auto"><em>After</em></p>
<pre><code>Imagine the day a civilization discovers the   starry night sky above contains billions of  billions of worlds awaiting their arrival.   Now imagine the day they realize  those voyages will never be made.   So earlier this week we were talking about Kessler  Syndrome, collision cascades around planets that   
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/74245</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74245</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Tue, 15 Feb 2022 23:55:05 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 23:04:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> said in <a href="/post/74243">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">wouldn’t it make more sense to treat that as my starting point?</p>
</blockquote>
<p dir="auto">If you want to start at the new starting point that is OK by me. But what I’m saying is that you have this original transcript that includes NBSP (non-breaking spaces) and LF without CR codes.</p>
<p dir="auto">Regular expressions (regex) are a wondrous thing. They magically fix all that, well maybe not magically but they are very powerful if coded well. There’s a real chance 1 regex can do it all! You’d open the “original” transcript in Notepad++, hit a macro and voila, the result appears as you want it.</p>
<p dir="auto">Terry</p>
<p dir="auto">PS thanks for the latest example. That format allows us (the coders) to take a stab at the real data, almost albeit without NBSP and give you a solution.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74244</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74244</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Tue, 15 Feb 2022 23:04:22 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 22:57:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> Sorry, I think I’m still a bit confused by what you mean when you say “real text”. Do you mean something like this?</p>
<pre><code>Imagine the day a civilization discovers the  

starry night sky above contains billions of 
billions of worlds awaiting their arrival.  

Now imagine the day they realize 
those voyages will never be made.
 

So earlier this week we were talking about Kessler 
Syndrome, collision cascades around planets that  
</code></pre>
<p dir="auto">I’m not sure if the original text needs to be the starting point - now that I know how to quickly get rid of no-break spaces and change line endings to <code>CRLF</code>, wouldn’t it make more sense to treat that as my starting point?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74243</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74243</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Tue, 15 Feb 2022 22:57:27 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 22:43:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> said in <a href="/post/74236">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">do you know what expression can be used to join only consecutive lines + lines separated by a single blank line?</p>
</blockquote>
<p dir="auto">I will repeat my request. The previous time you showed “real text” was after edits had been done. So if you could provide the “original” text in that manner you might get a response that can fix ALL them in 1 go. If not then at least once you have the process sorted you can make a macro of the steps. This can then be saved and played back whenever you have a transcript to process.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74241</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74241</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Tue, 15 Feb 2022 22:43:37 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 22:43:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> ,</p>
<pre><code>single spaced
will be joined

as will double-spaced


but not triple spaced
</code></pre>
<ul>
<li>FIND = <code>(?&lt;![\r\n])(\R){1,2}(?!\R)</code></li>
<li>REPLACE = <code>\x20</code></li>
<li>REPLACE ALL</li>
</ul>
<p dir="auto">This says “for matches that don’t have a \r or \n before it, match 1 or 2 newline sequences, which aren’t followed by a newline” and “replace with a space”.  This will collapse lines that are single spaced or double spaced into one line, but triple spaced or wider will be left unedited.</p>
<p dir="auto">This is just one solution that seems to fit your description.  <a href="https://en.wikipedia.org/wiki/There%27s_more_than_one_way_to_do_it" title="Tim Toady" rel="nofollow ugc">TIMTOWTDI</a>.</p>
<p dir="auto">-—</p>
<h3>Useful References</h3>
<ul>
<li><a href="https://community.notepad-plus-plus.org/topic/21965/please-read-before-posting">Please Read Before Posting</a></li>
<li><a href="https://community.notepad-plus-plus.org/topic/22022/template-for-search-replace-questions">Template for Search/Replace Questions</a></li>
<li><a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regular-expressions-regex-documentation">FAQ: Where to find regular expressions (regex) documentation</a></li>
<li><a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">Notepad++ Online User Manual: Searching/Regex</a></li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/74239</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74239</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 15 Feb 2022 22:43:01 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 22:32:47 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> Per the recommendation of <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>, I got rid of all the funky non-normal blank spaces by replacing <code>\xa0</code> with <code>\x20</code>. Now that I’m left with a transcript with <code>CRLF</code> line endings and only normal blank spaces, do you know what expression can be used to join only consecutive lines + lines separated by a single blank line?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74236</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74236</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Tue, 15 Feb 2022 22:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 22:21:22 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> I recommend you just do a search for <code>\xA0</code> and replace with <code>\x20</code>, which will replace all NBSP with normal spaces.</p>
<p dir="auto">Worked like a charm! And allows me to get rid of those extra spaces using search/replace :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74234</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74234</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Tue, 15 Feb 2022 22:21:22 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 22:18:42 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> that’s it - all the spaces where there isn’t any dot are highlighted when doing a search for <code>\xa0</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/74233</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74233</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Tue, 15 Feb 2022 22:18:42 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 22:08:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> said in <a href="/post/74206">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">I don’t know anything about Unicode</p>
</blockquote>
<p dir="auto">This may be a problem on a bigger scale, given what you seem to be doing.  Maybe best to go off and do some learning.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74224</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74224</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 15 Feb 2022 22:08:34 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 22:05:19 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/74214">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">I copied and pasted this text but the spaces all seemed to be “normal”.  :-(</p>
</blockquote>
<p dir="auto">Apparently another quirk of the forum.  If I copy/paste from there, or View Source on the webpage, <code>the   starry</code> just has normal spaces.  If I use my moderator powers to “edit” the post (don’t worry, <a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> , I didn’t save my edits), and copy from the original post, it’s actually <code>the\xA0\xA0\x20starry</code>.  So yes, there are two NBSP (<code>\xA0</code>) in between those words.</p>
<p dir="auto">So <a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a>, you  <em>do</em> have fancy spaces.  I recommend you just do a search for <code>\xA0</code> and replace with <code>\x20</code>, which will replace all NBSP with normal spaces.</p>
<p dir="auto"><em>(We regulars will have to try to remember that even the text boxes can edit some characters, including the backslash-[ and NBSP)</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/74221</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74221</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 15 Feb 2022 22:05:19 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 21:52:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> said in <a href="/post/74211">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">At this point I think you REALLY need to provide examples in the format I requested (read that FAQ post). We need actual text</p>
</blockquote>
<p dir="auto">I think OP tried to do this, when he said:</p>
<p dir="auto"><img src="/assets/uploads/files/1644961945787-effbfe1c-4f4a-4502-94d4-d0bacbc1331c-image.png" alt="effbfe1c-4f4a-4502-94d4-d0bacbc1331c-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I copied and pasted this text but the spaces all seemed to be “normal”.  :-(</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74214</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74214</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 15 Feb 2022 21:52:58 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 21:49:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> said in <a href="/post/74204">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> Thanks for explaining things further. Here’s a screenshot of some text showing where dots are placed:</p>
</blockquote>
<p dir="auto">At this point I think you REALLY need to provide examples in the format I requested (read that FAQ post). We need actual text to work on to help you. Images do not show the information, so we are only guessing (informed guesses they might be).</p>
<p dir="auto">Your issue is certainly fixable, just need the “real text”.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74211</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74211</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Tue, 15 Feb 2022 21:49:24 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 21:48:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> said in <a href="/post/74206">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">Is there a way to get rid of these non-breaking space characters?</p>
</blockquote>
<p dir="auto">Probably should confirm it first.  Do a regular expression search for <code>\xa0</code> and see if it matches the suspect spaces.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74210</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74210</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 15 Feb 2022 21:48:42 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 21:47:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/motreo" aria-label="Profile: motreo">@<bdi>motreo</bdi></a> said in <a href="/post/74207">New user having trouble getting line/blank operations to work</a>:</p>
<blockquote>
<p dir="auto">export wasn’t the right word to use. What I meant is that when I go to save the file from its source (<a href="http://downsub.com" rel="nofollow ugc">downsub.com</a>), I get a transcript with LF endings if I choose Open with Notepad++.</p>
</blockquote>
<p dir="auto">Well maybe export <em><strong>was</strong></em> the right word! :-)</p>
<p dir="auto">The saving of the file by whatever is saving it is doing so to a Linux file format.  No problem for Notepad++, but as a user of the data, you have to know if you want to keep it in Linux format, or change it over to Windows format.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74209</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74209</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 15 Feb 2022 21:47:51 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 21:45:48 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></p>
<blockquote>
<p dir="auto">First, there is no “export…to Notepad++”.<br />
If you are copying and pasting (which I presume from the rest of your statement), then say that, don’t talk of “export”.</p>
</blockquote>
<p dir="auto">Sorry, export wasn’t the right word to use. What I meant is that when I go to save the file from its source (<a href="http://downsub.com" rel="nofollow ugc">downsub.com</a>), I get a transcript with LF endings if I choose Open with Notepad++.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74207</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74207</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Tue, 15 Feb 2022 21:45:48 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 21:42:35 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> I don’t know anything about Unicode. Is there a way to get rid of these non-breaking space characters?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74206</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74206</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Tue, 15 Feb 2022 21:42:35 GMT</pubDate></item><item><title><![CDATA[Reply to New user having trouble getting line&#x2F;blank operations to work on Tue, 15 Feb 2022 21:41:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> Thanks for explaining things further. Here’s a screenshot of some text showing where dots are placed:</p>
<p dir="auto"><img src="/assets/uploads/files/1644960971617-2022-02-15-13_35_18-appdata_local_temp_.png" alt="2022-02-15 13_35_18-AppData_Local_Temp_.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This is what it looks like after running the regex expression guy038 recommended to me (copy text from transcript with <code>LF</code> endings, paste into new note so endings are converted into <code>CRLF</code>, <code>Ctrl + H</code>, SEARCH <code>(\R){3,}|(\R){1,2}</code>, REPLACE <code>(?1\r\n\r\n)?2\x20</code>):</p>
<p dir="auto"><img src="/assets/uploads/files/1644960660380-2022-02-15-13_21_18-_new-4-notepad.png" alt="2022-02-15 13_21_18-_new 4 - Notepad++.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Even after running that regex expression, extra spaces (either two or three) are left in between various words. Selecting ‘Trim Leading and Trailing Space’ doesn’t make a difference, whether I do it before or after running the regex expression.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74204</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74204</guid><dc:creator><![CDATA[motreo]]></dc:creator><pubDate>Tue, 15 Feb 2022 21:41:36 GMT</pubDate></item></channel></rss>