<?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[append text to some lines only]]></title><description><![CDATA[<p dir="auto">hi great community,</p>
<p dir="auto">i need to append text to some lines only. this is an example of my document:</p>
<pre><code>#EXT2836,
https://blabla
#EXT392,
https://blgahsa
#EXT9161,
https://agglo
</code></pre>
<p dir="auto">i need to append text to https line only, like this one:</p>
<pre><code>#EXT2836,
https://blabla66666
#EXT392,
https://blgahsa66666
#EXT9161,
https://agglo66666
</code></pre>
<p dir="auto">i know how to append text to all lines with:<br />
find: <code>$</code><br />
replace: <code>66666</code></p>
<p dir="auto">but this regex append text to all lines. i need to append text only to https lines</p>
<p dir="auto">so, i need help on replace field:<br />
find: <code>(?-s)https://.*</code><br />
replace: <code>66666</code>  (need help here)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/24450/append-text-to-some-lines-only</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 01:51:37 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/24450.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 May 2023 07:05:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to append text to some lines only on Wed, 10 May 2023 15:05:56 GMT]]></title><description><![CDATA[<p dir="auto">yes Alan, i’ve see that !</p>
]]></description><link>https://community.notepad-plus-plus.org/post/86266</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/86266</guid><dc:creator><![CDATA[namx3249]]></dc:creator><pubDate>Wed, 10 May 2023 15:05:56 GMT</pubDate></item><item><title><![CDATA[Reply to append text to some lines only on Wed, 10 May 2023 13:57:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/namx3249" aria-label="Profile: namx3249">@<bdi>namx3249</bdi></a></p>
<p dir="auto">Note that <code>\K</code> is only going to work if you’re doing a <em>Replace All</em>.<br />
It won’t work with a step-by-step <em>Replace</em>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/86263</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/86263</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 10 May 2023 13:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to append text to some lines only on Wed, 10 May 2023 07:48:15 GMT]]></title><description><![CDATA[<p dir="auto">oh yes, work fine. thank you</p>
<p dir="auto">this option <code>\K</code> it’s really new for me. thanks again for your tip</p>
]]></description><link>https://community.notepad-plus-plus.org/post/86259</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/86259</guid><dc:creator><![CDATA[namx3249]]></dc:creator><pubDate>Wed, 10 May 2023 07:48:15 GMT</pubDate></item><item><title><![CDATA[Reply to append text to some lines only on Wed, 10 May 2023 07:21:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/namx3249" aria-label="Profile: namx3249">@<bdi>namx3249</bdi></a>,</p>
<p dir="auto">a simple way I can think of:<br />
Find: <code>^https.*\K</code><br />
Replace with: <code>66666</code></p>
<p dir="auto"><code>\K</code> resets the starting point of the reported match, then you can just type the appended text in the Replace field.</p>
<p dir="auto">The setting <code>. matches newline</code> in the Replace dialog is unchecked.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/86258</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/86258</guid><dc:creator><![CDATA[litos81]]></dc:creator><pubDate>Wed, 10 May 2023 07:21:55 GMT</pubDate></item></channel></rss>