<?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 to find and select all words between select words?]]></title><description><![CDATA[<p dir="auto">I have been using the “media Companion” to find cover art for my movies as well as plots for the movies as well. I don’t use media programs I just use “Windows 10” and “File Explorer”. So I change the cover art and then I write the plot in the comments section and I also add the Genre.</p>
<p dir="auto">So here is the issue when I open the notepad++ program to find the “Plot” and the “Genres” the plot starts with &lt;plot&gt; and then the plot is written in there and then it says &lt;/plot&gt; is there a way to select all the text between &lt;plot&gt; and &lt;/plot&gt; automatically. Because sometimes the text is pretty long and hard to copy by just scrolling over it and highlighting it. I already know how to use the replace from the search. But I’m not to sure if this is even possible. I so please tell me know thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21308/how-to-find-and-select-all-words-between-select-words</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 04:14:24 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21308.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Jun 2021 22:14:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to find and select all words between select words? on Fri, 10 Dec 2021 19:10:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcin-kucharski" aria-label="Profile: marcin-kucharski">@<bdi>marcin-kucharski</bdi></a></p>
<p dir="auto">Don’t ask the same question in 2 threads; you asked the same question <a href="https://community.notepad-plus-plus.org/topic/22253/how-to-extract-part-of-the-text">HERE</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/72032</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/72032</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 10 Dec 2021 19:10:03 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Fri, 10 Dec 2021 18:41:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi! I have a similar problem. I need to extract a part of text between strings:<br />
*** text 1 ***<br />
and<br />
*** text 2 ***<br />
The problem is that text 1 and text 2 is different in each of thousands files.<br />
Another problem is that *** should be interpreted as an actual asterisk not a wildcard. Can someone help? I can also use PowerShell but I don’t know how to write a script :|</p>
]]></description><link>https://community.notepad-plus-plus.org/post/72029</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/72029</guid><dc:creator><![CDATA[Marcin Kucharski]]></dc:creator><pubDate>Fri, 10 Dec 2021 18:41:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Fri, 11 Jun 2021 02:37:33 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 Macro trick worked great thank you. Its like a way to cheat and still not need to re-paste the code every time I change the “Search”. Thank You!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66963</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66963</guid><dc:creator><![CDATA[Dawn Brockman]]></dc:creator><pubDate>Fri, 11 Jun 2021 02:37:33 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Thu, 10 Jun 2021 11:23:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-brockman" aria-label="Profile: Dawn-Brockman">@<bdi>Dawn-Brockman</bdi></a> said in <a href="/post/66930">How to find and select all words between select words?</a>:</p>
<blockquote>
<p dir="auto">Now all I need to do is copy the shortcut you gave me and place it into a file and keep it onto my desktop</p>
</blockquote>
<p dir="auto">Instead of that you could make a macro out of it.</p>
<ul>
<li>set up your search but don’t execute it yet (or execute it to test it!)</li>
<li>leave <em>Find</em> window open</li>
<li>do <em>Macro</em> menu then <em>Start Recording</em></li>
<li>now execute the search you’ve previously set up</li>
<li>do <em>Macro</em> menu then <em>Stop Recording</em></li>
<li>do <em>Macro</em> menu then <em>Save Currently Recorded Macro…</em> and name your macro</li>
</ul>
<p dir="auto">Now the name you gave the macro will appear in the lower part of the <em>Macro</em> menu, and you can execute it by selecting it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66942</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66942</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 10 Jun 2021 11:23:25 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Thu, 10 Jun 2021 11:19:32 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> said in <a href="/post/66936">How to find and select all words between select words?</a>:</p>
<blockquote>
<p dir="auto">easy way to get a list of all the &lt;plot&gt;•••••&lt;/plot&gt;</p>
</blockquote>
<p dir="auto">I interpreted the OP’s request as only 1 instance of the text to be selected in the file.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66941</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66941</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Thu, 10 Jun 2021 11:19:32 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Thu, 10 Jun 2021 09:09:53 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-brockman" aria-label="Profile: dawn-brockman">@<bdi>dawn-brockman</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-R">@<bdi>terry-R</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">May be, I misunderstand something <strong>obvious</strong>, but there is an <strong>easy</strong> way to get a list of all the <strong><code>&lt;plot&gt;•••••&lt;/plot&gt;</code></strong>, at once, in a <strong>new</strong> file :</p>
<ul>
<li>
<p dir="auto">Open the <strong>Mark</strong> dialog ( <strong><code>Ctrl + M</code></strong> )</p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>(?s-i)(?&lt;=&lt;plot&gt;).+?(?=&lt;/plot&gt;)</code></strong></p>
</li>
<li>
<p dir="auto"><strong>Tick</strong> the <strong>two</strong> options <strong><code>Purge for each search</code></strong> and <strong><code>Wrap around</code></strong></p>
</li>
<li>
<p dir="auto"><strong>Un</strong>-tick all other <strong>box</strong> options</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>
</ul>
<p dir="auto">=&gt;  The <strong><code>&lt;plot&gt;•••••&lt;/plot&gt;</code></strong> areas shouild be hightlighted in <strong>red</strong> !</p>
<ul>
<li>
<p dir="auto">Now, click on the <strong><code>Copy Marked Text</code></strong> button</p>
</li>
<li>
<p dir="auto">Open a <strong>new</strong> file ( <strong><code>Ctrl + N</code></strong> )</p>
</li>
<li>
<p dir="auto">Paste the <strong>clipboard</strong> contents ( <strong><code>Ctrl + V</code></strong> )</p>
</li>
</ul>
<p dir="auto">Voila !</p>
<p dir="auto">In addition, as you’re currently doing a <strong>multi</strong>-lines regex search, the <strong><code>Copy Marked Text</code></strong> feature <strong>automatically</strong> inserts a <strong>four</strong>-dashes <strong>separation</strong> line ( <strong><code>----</code></strong> ) between <strong>each</strong> occurrence ;-))</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66936</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66936</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Thu, 10 Jun 2021 09:09:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Thu, 10 Jun 2021 08:14:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-brockman" aria-label="Profile: Dawn-Brockman">@<bdi>Dawn-Brockman</bdi></a> said in <a href="/post/66930">How to find and select all words between select words?</a>:</p>
<blockquote>
<p dir="auto">Do you know of any other tips like this one.</p>
</blockquote>
<p dir="auto">Well most of the members who have used Notepad++ (often shortened to NPP) for a while will have methods that they use to help them. Unfortunately there isn’t a repository of these that I’m aware of.</p>
<p dir="auto">But if you have an issue I would suggest searching on this forum first. If you can’t find an answer just post your question. Most of the members will willingly provide their ideas (and solutions) if they think it will help, as I did.</p>
<p dir="auto">There is an online manual for NPP and references to regular expressions in the FAQ section, so look there as well.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66935</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66935</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Thu, 10 Jun 2021 08:14:43 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Thu, 10 Jun 2021 07:30:20 GMT]]></title><description><![CDATA[<p dir="auto">Okay now finding the “Plot” area is much easier then before and I didn’t know that once the text was highlighted I didn’t need to re-highlight it again once I found the text.</p>
<p dir="auto">I have been using Ctrl+c and Ctrl+v for a while now I just thought I need to re-select it and then copy it and then paste it. But knowing that by finding it its already highlighted and selected for me. Once I actually copy it with Ctrl+c it gets much easier.</p>
<p dir="auto">thank you for all the help with this. Now all I need to do is copy the shortcut you gave me and place it into a file and keep it onto my desktop. Do you know of any other tips like this one. Or of a site with tutorials so I can take some tips and place them into a file and keep it on my PC. So I could have some tips at my finger tips so to speak.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66930</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66930</guid><dc:creator><![CDATA[Dawn Brockman]]></dc:creator><pubDate>Thu, 10 Jun 2021 07:30:20 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Wed, 09 Jun 2021 23:30:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-brockman" aria-label="Profile: Dawn-Brockman">@<bdi>Dawn-Brockman</bdi></a> said in <a href="/post/66925">How to find and select all words between select words?</a>:</p>
<blockquote>
<p dir="auto">I do see it all grayed out but I was wondering if there is a easier way then to Hold Shift and then Left Click the text I want to select.</p>
</blockquote>
<p dir="auto">Sorry, I don’t know if you mean this to be a new question or follow on from previous.</p>
<p dir="auto">So once it is highlighted close the Find window and then press Ctrl-C (this will pickup the highlighted text). Go to a new tab or file and position the cursor before Ctrl-V (paste).</p>
<p dir="auto">Understand it will retain the line formatting as previous, so if multiple lines in the original, then the copy will look exactly the same with indents, line feeds etc.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66926</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66926</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 09 Jun 2021 23:30:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Wed, 09 Jun 2021 23:16:46 GMT]]></title><description><![CDATA[<p dir="auto">This did the trick and I was wondering if there was a way to select it and not just highlight it. I do see it all grayed out but I was wondering if there is a easier way then to Hold Shift and then Left Click the text I want to select.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66925</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66925</guid><dc:creator><![CDATA[Dawn Brockman]]></dc:creator><pubDate>Wed, 09 Jun 2021 23:16:46 GMT</pubDate></item><item><title><![CDATA[Reply to How to find and select all words between select words? on Wed, 09 Jun 2021 22:29:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-brockman" aria-label="Profile: Dawn-Brockman">@<bdi>Dawn-Brockman</bdi></a> said in <a href="/post/66923">How to find and select all words between select words?</a>:</p>
<blockquote>
<p dir="auto">is there a way to select all the text between &lt;plot&gt; and &lt;/plot&gt; automatically</p>
</blockquote>
<p dir="auto">There is a method, it involves using “regular expressions”, or regex for short.</p>
<p dir="auto">So once the file is opened in Notepad++, use the Find function. Set search mode to regular expression and use the following.<br />
Find What:<code>(?s)(?&lt;=plot&gt;)(.+?)(?=&lt;/plot&gt;)</code><br />
click on the Find Next button. The text you want is highlighted.</p>
<p dir="auto">If you need an explanation of the syntax of the regex:<br />
<code>(?s)</code> … Identifies any DOT character as also containing the line feed characters (\r and \n)<br />
<code>(?&lt;=plot&gt;)</code> … This positions the cursor so the preceding characters are <code>plot&gt;</code><br />
<code>(.+?)</code> …  This means grab characters lazily until … (The DOT character means any character)<br />
<code>(?=&lt;/plot&gt;)</code> … we see immediately ahead of us the <code>&lt;/plot&gt;</code> sequence.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66924</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66924</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 09 Jun 2021 22:29:35 GMT</pubDate></item></channel></rss>