<?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[find at and copy text to the end of a different line]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I am new here, can someone tell me if is there a way to copy the text on multiple documents of the same structure and past it at the end of a specific line.</p>
<p dir="auto">e.g.  line 4 - Name  <strong>Catch me</strong><br />
line 6 - Slogan <strong>If You Can</strong></p>
<p dir="auto">desired results  must be in line 4<br />
line 4 - Name <strong>Catch me If You Can</strong><br />
line 6 - Slogan If You Can</p>
<p dir="auto">thanks</p>
<p dir="auto">Mabura</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23196/find-at-and-copy-text-to-the-end-of-a-different-line</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 05:03:00 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23196.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Jul 2022 18:49:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to find at and copy text to the end of a different line on Tue, 05 Jul 2022 12:23:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/25713">@Sibusiso-Dlomo</a></p>
<p dir="auto">So, before text is:</p>
<pre><code class="language-z">line 1
line 2
line 3
Name Catch me
line 5
Slogan If You Can
line 7
</code></pre>
<p dir="auto">and after text is:</p>
<pre><code class="language-z">line 1
line 2
line 3
Name Catch me If You Can
line 5
Slogan If You Can
line 7
</code></pre>
<p dir="auto">You could do:</p>
<p dir="auto">Find: <code>\A(?-is)(?:.*\R){3}.*\K(?=\R(?:.*\RSlogan(.+)))</code><br />
Replace: <code>${1}</code><br />
Search mode: Regular expression</p>
<p dir="auto">Other solutions are definitely possible.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78144</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78144</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 05 Jul 2022 12:23:20 GMT</pubDate></item><item><title><![CDATA[Reply to find at and copy text to the end of a different line on Mon, 04 Jul 2022 19:14:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> thank you for the quick reply.</p>
<p dir="auto">Yes, I want to copy all text on line 6 after the word <strong>Slogan</strong> and paste them at the end of line 4.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78118</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78118</guid><dc:creator><![CDATA[Sibusiso Dlomo]]></dc:creator><pubDate>Mon, 04 Jul 2022 19:14:25 GMT</pubDate></item><item><title><![CDATA[Reply to find at and copy text to the end of a different line on Mon, 04 Jul 2022 19:10:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/25713">@Sibusiso-Dlomo</a></p>
<p dir="auto">You need to state a more rigid pattern than that, for any sane person to even start offering help.</p>
<p dir="auto">For example, if you’d said “I need to take the last 3 words on line 6 and copy them to the end of line 4 after adding a space…” then that is a more solid starting point.  Of course, that can be a starting point, if it is true, but until you confirm it we have no real reason to assume that is a rigid definition of what you want.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78117</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78117</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 04 Jul 2022 19:10:11 GMT</pubDate></item></channel></rss>