<?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 can i merge lines with condition ?]]></title><description><![CDATA[<p dir="auto">if i have 3 lines and i want to merge the line which less than 10 word to the line above how can i do it ?<br />
<img src="/assets/uploads/files/1609554927790-57707b2c-e5aa-4eba-90d1-548a35bbf163-image.png" alt="57707b2c-e5aa-4eba-90d1-548a35bbf163-image.png" class=" img-fluid img-markdown" /><br />
and here how i want it to be<br />
<img src="/assets/uploads/files/1609554954647-31388e99-35b8-489c-a83b-0691c5163e37-image.png" alt="31388e99-35b8-489c-a83b-0691c5163e37-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20543/how-can-i-merge-lines-with-condition</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 07:59:00 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20543.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 Jan 2021 02:36:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how can i merge lines with condition ? on Sat, 02 Jan 2021 14:16:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/astrosofista" aria-label="Profile: astrosofista">@<bdi>astrosofista</bdi></a>  That’s exactly what im talking about,Thank u so much,appreciate that !!!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61329</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61329</guid><dc:creator><![CDATA[Hai Pham]]></dc:creator><pubDate>Sat, 02 Jan 2021 14:16:57 GMT</pubDate></item><item><title><![CDATA[Reply to how can i merge lines with condition ? on Sat, 02 Jan 2021 14:16:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a>   thk u so much for paying attention to my question, i have the answer now !!!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61328</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61328</guid><dc:creator><![CDATA[Hai Pham]]></dc:creator><pubDate>Sat, 02 Jan 2021 14:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to how can i merge lines with condition ? on Sat, 02 Jan 2021 13:41:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/hai-pham" aria-label="Profile: Hai-Pham">@<bdi>Hai-Pham</bdi></a></p>
<p dir="auto">If I correctly interpreted the question —chars instead of words—, the following regex will help you:</p>
<pre><code class="language-z">Search: \R^(.{1,9})$
Replace: \x20$1
</code></pre>
<p dir="auto">Put the caret at the very beginning of the document, select just the <code>Regular Expressions mode</code> and click on <code>Replace All</code>.</p>
<p dir="auto">Have fun!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61325</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61325</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Sat, 02 Jan 2021 13:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to how can i merge lines with condition ? on Sat, 02 Jan 2021 13:40:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hai-pham" aria-label="Profile: Hai-Pham">@<bdi>Hai-Pham</bdi></a></p>
<p dir="auto">I’m sorry, but it didn’t become any clearer for me.<br />
Could it be that you want to append the lines which ONLY have a certain number of words to the previous line?</p>
<p dir="auto">Something like if a line has less than 10 words,<br />
then append it to the previous line?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61324</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61324</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sat, 02 Jan 2021 13:40:45 GMT</pubDate></item><item><title><![CDATA[Reply to how can i merge lines with condition ? on Sat, 02 Jan 2021 13:04:37 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>  ops sorry,hmm i mean less than the number i want =.=</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61319</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61319</guid><dc:creator><![CDATA[Hai Pham]]></dc:creator><pubDate>Sat, 02 Jan 2021 13:04:37 GMT</pubDate></item><item><title><![CDATA[Reply to how can i merge lines with condition ? on Sat, 02 Jan 2021 12:55:48 GMT]]></title><description><![CDATA[<p dir="auto">I think you need more specification, as all lines shown have less than 10 words…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61317</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61317</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 02 Jan 2021 12:55:48 GMT</pubDate></item></channel></rss>