<?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[Multiple selection in mixed paragraph]]></title><description><![CDATA[<p dir="auto">Hello to everyone.</p>
<p dir="auto">I have a text document and it has a specific structure that starts with a word that repeats itself paragraph by paragraph. The particular structure (XXXX " ) I’m talking about has this form, except for the parentheses. It’s always the same word and quotation marks, followed by several different words that are not alike. There are different lines in between. So I have to skip those different lines and select all the remaining lines in one go. How I can?</p>
<p dir="auto">Thanks in advance…</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21846/multiple-selection-in-mixed-paragraph</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 08:57:55 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21846.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Sep 2021 20:32:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multiple selection in mixed paragraph on Sun, 19 Sep 2021 18:18:44 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> The bookmark menu worked. It’s exactly what I wanted, thanks…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69849</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69849</guid><dc:creator><![CDATA[darkenb]]></dc:creator><pubDate>Sun, 19 Sep 2021 18:18:44 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple selection in mixed paragraph on Sun, 19 Sep 2021 15:50:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/darkenb" aria-label="Profile: darkenb">@<bdi>darkenb</bdi></a> said in <a href="/post/69835">Multiple selection in mixed paragraph</a>:</p>
<blockquote>
<p dir="auto">It still only selects</p>
</blockquote>
<p dir="auto">Start with:</p>
<p dir="auto"><img src="/assets/uploads/files/1632066448562-4ccde648-8573-470d-b4af-9458dc114cf3-image.png" alt="4ccde648-8573-470d-b4af-9458dc114cf3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Run the marking operation I described, to obtain:</p>
<p dir="auto"><img src="/assets/uploads/files/1632066501968-6f9e9b1b-c0e5-4105-b1d7-4051437d832f-image.png" alt="6f9e9b1b-c0e5-4105-b1d7-4051437d832f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Run this menu command:</p>
<p dir="auto"><img src="/assets/uploads/files/1632066537597-eaa40a1e-6ebe-4d35-bc07-16aa4a5ff124-image.png" alt="eaa40a1e-6ebe-4d35-bc07-16aa4a5ff124-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Create new tab (press Ctrl+n) and past (Ctrl+v) to obtain:</p>
<p dir="auto"><img src="/assets/uploads/files/1632066606625-05faccee-307f-464a-b854-16d8b53e6a50-image.png" alt="05faccee-307f-464a-b854-16d8b53e6a50-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Is this not the desired result?<br />
And, this is absolutely no different than Peter’s earlier advice.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69836</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69836</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 19 Sep 2021 15:50:59 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple selection in mixed paragraph on Sun, 19 Sep 2021 14:13:56 GMT]]></title><description><![CDATA[<p dir="auto">It still only selects (msgid ") this part and copies it. I can’t select the rest of that word on any line at once.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69835</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69835</guid><dc:creator><![CDATA[darkenb]]></dc:creator><pubDate>Sun, 19 Sep 2021 14:13:56 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple selection in mixed paragraph on Sun, 19 Sep 2021 13:26:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/darkenb" aria-label="Profile: darkenb">@<bdi>darkenb</bdi></a> said in <a href="/post/69833">Multiple selection in mixed paragraph</a>:</p>
<blockquote>
<p dir="auto">I’ll just translate lines that start like (msgid “XXX”). So I just want to select all these lines and copy them to a separate place. Since each line starts with the same word + space + quotation mark,</p>
</blockquote>
<p dir="auto">If you do the marking operation followed by bookmarked lines copy that Peter describes, what you want should be easy to achieve.</p>
<p dir="auto">You’d do the marking operation with this setup:</p>
<p dir="auto"><img src="/assets/uploads/files/1632057936992-0bb70be8-051b-4a3e-b19c-e72e7cf6ed17-image.png" alt="0bb70be8-051b-4a3e-b19c-e72e7cf6ed17-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So that the <em>Find what</em> text is copy/pastable, here it is: <code>^msgid "</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/69834</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69834</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 19 Sep 2021 13:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple selection in mixed paragraph on Sun, 19 Sep 2021 13:04:50 GMT]]></title><description><![CDATA[<p dir="auto">I am Turkish and do not speak English. That’s why I open a topic here with Google translate and communicate. I apologize if there is a problem with translations or words.</p>
<p dir="auto">If I need to explain my question in detail, let me explain.</p>
<p dir="auto">I’m translating a game. I will translate simple words but I need to translate at least 1500 lines. A copy of the content I will translate is in the image below.</p>
<p dir="auto"><img src="https://i.ibb.co/cJv1HCW/Ekran-Al-nt-s.png" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">I’ll just translate lines that start like (msgid “XXX”). So I just want to select all these lines and copy them to a separate place. Since each line starts with the same word + space + quotation mark, I thought it would be easy to select these lines. The problem is just that. It is very difficult to select 1500 lines one by one because there are different lines in between.</p>
<p dir="auto">I hope the translation and sentence structure is correct this time.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69833</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69833</guid><dc:creator><![CDATA[darkenb]]></dc:creator><pubDate>Sun, 19 Sep 2021 13:04:50 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple selection in mixed paragraph on Sat, 18 Sep 2021 22:03:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/darkenb" aria-label="Profile: darkenb">@<bdi>darkenb</bdi></a> said in <a href="/post/69828">Multiple selection in mixed paragraph</a>:</p>
<blockquote>
<p dir="auto">But then only XXXX " selects this word. However, I want every line that starts with that word to be selected. XXXX “This content is different in every line” is my document with this structure. It goes on like this on every line, but there are different lines between them.</p>
</blockquote>
<p dir="auto"><img src="/assets/uploads/files/1632002210385-30341e07-0206-4c29-80d0-89e0257103a9-image.png" alt="30341e07-0206-4c29-80d0-89e0257103a9-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">it only <em>marks</em> (the peachy background) the prefix.  But the bookmark (the blue circle) applies to the whole line.  If I then do <strong>Search &gt; Bookmark &gt; Copy Bookmarked Lines</strong>, it puts the whole line into the copy buffer.  For example, I did that, and now am pasting it into my reply:</p>
<pre><code>XXXXX "Something goes here
XXXXX "Something goes here
XXXXX "Something goes here
XXXXX "Something goes here
XXXXX "Something goes here
XXXXX "Something goes here
XXXXX "Something goes here
XXXXX "Something goes here
</code></pre>
<p dir="auto">Notice that it got the whole line, <em>not</em> just the highlighted text.</p>
<p dir="auto">You never said what you wanted to do with the result, which can determine the best way to answer you.  Since you gave minimal information, I gave you what I thought was the best match for what you seemed to be asking, and the most flexible, since you didn’t say whether you wanted to search-and-replace, or be able to easily navigate, or get ready to copy those lines, or what – and the solution I gave you is quite flexible.</p>
<p dir="auto">If you are planning on doing a search-and-replace, such that it matters whether the whole line is in the “matched” portion or not, then use the <strong>Search &gt; Replace</strong> dialog, find <code>XXXXX ".*</code>, replace with whatever you want, and use search mode = regular expression, with “. matches newline” turned off.</p>
<p dir="auto">-—</p>
<p dir="auto"><em>Do you want regex search/replace help?  Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you.  All example text should be marked as literal text using the <code>&lt;/&gt;</code> toolbar button or manual <a href="https://community.notepad-plus-plus.org/topic/14262/how-to-markdown-code-on-this-forum/4">Markdown syntax</a>. To make <code>regex in red</code> (and so they keep their special characters like *), use backticks, like <code>`^.*?blah.*?\z`</code>. Screenshots can be pasted from the clipboard to your post using <code>Ctrl+V</code> to show graphical items, but any text should be included as literal text in your post so we can easily copy/paste your data. Show the data you have <strong>and</strong> the text you want to get from that data; include examples of things that <strong>should match</strong> and be transformed, <strong>and</strong> things that <strong>don’t match</strong> and should be left alone; show <strong>edge cases</strong> and make sure you examples are as <strong>varied</strong> as your real data.  Show the regex you already tried, <strong>and why</strong> you thought it should work; tell us what’s wrong with what you <strong>do</strong> get. Read the official <a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">NPP Searching / Regex docs</a> and the forum’s <a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regex-documentation">Regular Expression FAQ</a>. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries.</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/69829</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69829</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 18 Sep 2021 22:03:52 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple selection in mixed paragraph on Sat, 18 Sep 2021 21:46:43 GMT]]></title><description><![CDATA[<p dir="auto">But then only XXXX " selects this word. However, I want every line that starts with that word to be selected. XXXX “This content is different in every line” is my document with this structure. It goes on like this on every line, but there are different lines between them.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69828</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69828</guid><dc:creator><![CDATA[darkenb]]></dc:creator><pubDate>Sat, 18 Sep 2021 21:46:43 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple selection in mixed paragraph on Sat, 18 Sep 2021 21:38:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/darkenb" aria-label="Profile: darkenb">@<bdi>darkenb</bdi></a> ,</p>
<p dir="auto">If you use <strong>Search &gt; Mark</strong>, and enable Bookmark line, search for <code>XXXXX "</code> , which will bookmark each of the lines.  Then use <strong>Search &gt; Bookmark &gt; …</strong> to perform bulk operations on each of the bookmarked lines, like copy or delete or navigate between</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69827</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69827</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 18 Sep 2021 21:38:03 GMT</pubDate></item></channel></rss>