<?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[Bookmark, copy  spesific lines in notpad++]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">How can i  select or import some specific combos in a txt file notpad++ ,The txt file is like</p>
<pre><code>testxx:textxx
&lt;------------&gt;
Test #1: 0
Test #2: 3
Test #3: 0
&lt;------------&gt;
test1:test1
&lt;------------&gt;
*********
&lt;------------&gt;
test22:test22
&lt;------------&gt;
*********
&lt;------------&gt;
testxx2:testxx2
&lt;------------&gt;
Test #1: 0
Test #2: 1
Test #3: 4
&lt;------------&gt;
</code></pre>
<p dir="auto">I want to select or copy combos before this suffix</p>
<pre><code>&lt;------------&gt;
Test #1: 0
Test #2: 1
Test #3: 4
&lt;------------&gt;
Test #1: 0
Test #2: 1
Test #3: 4
&lt;------------&gt;

</code></pre>
<p dir="auto">btw the numbers after Test #1 Test #2 Test #3 are always different</p>
<p dir="auto">lLike in the example file , i want to import these combos</p>
<pre><code>testxx:textxx
testxx2:testxx2
</code></pre>
<p dir="auto">Thank you</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/24073/bookmark-copy-spesific-lines-in-notpad</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 23:51:00 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/24073.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Jan 2023 15:31:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 23:25:39 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><br />
Thanks a lot your the best I solved my problem with our help, and sorry for my bad description its just about a language issue :D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/83721</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83721</guid><dc:creator><![CDATA[akram duna]]></dc:creator><pubDate>Sun, 29 Jan 2023 23:25:39 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 23:06:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/akram-duna" aria-label="Profile: akram-duna">@<bdi>akram-duna</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Ah… OK ! Of course, you could try that regex :</p>
<p dir="auto"><strong><code>(?x-si) ^ .+ \R &lt; -+ &gt; \R (?: Test \x20 .+ \R? )+ (?= \R ^ &lt; -+ &gt; )</code></strong></p>
<p dir="auto">But the <strong>main</strong> problem is <strong>not</strong> solved.  We need to know <strong>how</strong> your <strong>present</strong> data is organized !</p>
<hr />
<p dir="auto">Could you provide us, a reasonable <strong>amount</strong> of your <strong>real</strong> text ( I mean, between <strong><code>50</code></strong> and <strong><code>150</code></strong> lines ) which <strong>recapitulates</strong> all ( or <strong>almost</strong> all ) the possible cases of your <em>INPUT</em> data  :</p>
<h3>INPUT</h3>
<pre><code>testxx:textxx
&lt;------------&gt;
Test #1: 0
Test #2: 3
Test #3: 0
&lt;------------&gt;
....
....
....
....
</code></pre>
<p dir="auto">And, <strong>starting</strong> with <strong>that</strong> <em>INPUT</em> data, could you show us the <em>OUTPUT</em> text that you <strong>expect</strong>  to :</p>
<h3>OUTPUT</h3>
<pre><code>...
...
...
</code></pre>
<p dir="auto">BR</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/83720</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83720</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 29 Jan 2023 23:06:33 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 21:38:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/akram-duna" aria-label="Profile: akram-duna">@<bdi>akram-duna</bdi></a></p>
<p dir="auto">You’re not doing a great job of describing what you want, and you seem to be changing your spec every time you ask the question.  Guy has done his best to guess what you mean, and has done a reasonable job; I will usually try to guess, but with your problem desciption, I cannot tell at all what you want (so i cannot offer any suggestions).</p>
<p dir="auto">Please do a better job of defining your desires, so you get one last answer, and then understand that you are expected to learn from what we share, and figure out how to customize it yourself, and not just expect us to do your homework/job for you.</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/21925/faq-desk-formatting-forum-posts">Formatting Forum Posts</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>
<li><a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regular-expressions-regex-documentation">FAQ: Where to find other regular expressions (regex) documentation</a></li>
</ul>
<p dir="auto">-—</p>
<p dir="auto"><em><strong>Please note</strong>: This Community Forum is not a data transformation service; you should not expect to be able to always say “I have data like X and want it to look like Y” and have us do all the work for you.  If you are new to the Forum, and new to regular expressions, we will often give help on the first one or two data-transformation questions, especially if they are well-asked and you show a willingness to learn; and we will point you to the documentation where you can learn how to do the data transformations for yourself in the future.  But if you repeatedly ask us to do your work for you, you will find that the patience of usually-helpful Community members wears thin.  The best way to learn regular expressions is by experimenting with them yourself, and getting a feel for how they work; having us spoon-feed you the answers without you putting in the effort doesn’t help you in the long term and is uninteresting and annoying for us.</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/83719</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83719</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 29 Jan 2023 21:38:14 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 18:50:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a></p>
<p dir="auto">I tried it and it mark</p>
<pre><code>Test #1: 0
Test #2: 3
Test #3: 0

Test #1: 0
Test #2: 1
Test #3: 4
</code></pre>
<p dir="auto">now how to change it to mark</p>
<pre><code>testxx:textxx
testxx2:testxx2
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/83714</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83714</guid><dc:creator><![CDATA[akram duna]]></dc:creator><pubDate>Sun, 29 Jan 2023 18:50:59 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 17:02:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/akram-duna" aria-label="Profile: akram-duna">@<bdi>akram-duna</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Could you try this <strong>Mark</strong> regex ?</p>
<p dir="auto"><strong><code>(?x-si) &lt; -+ &gt; \R \K (?: Test \x20 .+ \R? )+ (?= \R ^ &lt; -+ &gt; )</code></strong></p>
<p dir="auto"><strong>Remark</strong> : You do <strong>not</strong> even need to <strong>tick</strong> the <strong><code>Bookmark line</code></strong> option !</p>
<p dir="auto">If <strong>OK</strong>, I’ll explain you <strong>how</strong> this regex works !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/83712</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83712</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 29 Jan 2023 17:02:56 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 16:44:09 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></p>
<p dir="auto">the repeated sentence in my file are</p>
<pre><code>&lt;------------&gt;
Test #1:
Test #2:
Test #3: 
&lt;------------&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/83711</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83711</guid><dc:creator><![CDATA[akram duna]]></dc:creator><pubDate>Sun, 29 Jan 2023 16:44:09 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 16:28:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/akram-duna" aria-label="Profile: akram-duna">@<bdi>akram-duna</bdi></a>,</p>
<p dir="auto">Or are <strong>all</strong> the lines to copy <strong>begin</strong> with the string <strong><code>Test</code></strong> ?</p>
<p dir="auto">BR</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/83710</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83710</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 29 Jan 2023 16:28:25 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 16:21:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/akram-duna" aria-label="Profile: akram-duna">@<bdi>akram-duna</bdi></a>,</p>
<p dir="auto">Are the blocks to <strong>copy</strong> contain, at least, <strong>two successive</strong> lines ?</p>
<p dir="auto">BR</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/83709</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83709</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 29 Jan 2023 16:21:42 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 16:14:15 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><br />
Hi mate thanks for your help but the</p>
<pre><code>testxx:textxx
testxx2:testxx2
</code></pre>
<p dir="auto">are just examples the origin file contains a lot of different data , that main idea is to copy them using these</p>
<pre><code>&lt;------------&gt;
Test #1: 0
Test #2: 1
Test #3: 4
&lt;------------&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/83707</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83707</guid><dc:creator><![CDATA[akram duna]]></dc:creator><pubDate>Sun, 29 Jan 2023 16:14:15 GMT</pubDate></item><item><title><![CDATA[Reply to Bookmark, copy  spesific lines in notpad++ on Sun, 29 Jan 2023 17:05:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/akram-duna" aria-label="Profile: akram-duna">@<bdi>akram-duna</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">One <strong>possible</strong> method would be to use <strong>regular</strong> expressions !</p>
<hr />
<ul>
<li>
<p dir="auto">Open the <strong>Mark</strong> dialog ( <strong><code>Ctrl + M</code></strong> )</p>
</li>
<li>
<p dir="auto">Type in <strong><code>(?x-s) ^ testxx .+ \R &lt; -+ &gt; \R \K (?s: .+? ) (?= \R ^ &lt; -+ &gt; )</code></strong> in the <strong>Find what:</strong> zone</p>
</li>
<li>
<p dir="auto"><strong>Untick</strong> all the <strong>box</strong> options</p>
</li>
<li>
<p dir="auto"><strong>Click</strong> the <strong><code>3</code></strong> options <strong><code>Bookmark line</code></strong>, <strong><code>Purge for each search</code></strong> and <strong><code>Wrap around</code></strong></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 on the <strong><code>Mark All</code></strong> button</p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Copy Mark Text</code></strong> button</p>
</li>
<li>
<p dir="auto">Open a <strong>new</strong> tab ( <strong><code>Ctrl + N</code></strong> )</p>
</li>
<li>
<p dir="auto">Paste the <strong>copied</strong> text ( <strong><code>Ctrl + V</code></strong> )</p>
</li>
</ul>
<p dir="auto">Here your are !</p>
<p dir="auto">Note that any line, made of <strong>only four</strong> dashes, <strong>between</strong> your blocks, are generated by the <strong><code>Copy Marked Text</code></strong> feature itself !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/83705</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/83705</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 29 Jan 2023 17:05:33 GMT</pubDate></item></channel></rss>