<?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[Search for range of values]]></title><description><![CDATA[<p dir="auto">Special “search and replace” problem</p>
<p dir="auto">Hello Notepad++ Community! I can’t find a solution for my Notepad++ problem. Maybe you can help me. I’m trying to search in a column for values that are inside a range. With the command</p>
<pre><code>B[a-c]A
</code></pre>
<p dir="auto">I can search between values.</p>
<p dir="auto">But I have to search between numeric values with dot comma. So the values are 6936.750 6943.000 6955.00 … and now I want to find all values between 6900 and 7000.<br />
Somethinks like this:</p>
<pre><code>6900.000[1-9]7000.000
</code></pre>
<p dir="auto">After finding all the values in this range, I would delete these lines with <strong>Strg+Shift+L</strong>.</p>
<p dir="auto">Does anyone have a solution for me? Thanks a lot!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22659/search-for-range-of-values</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 05:25:29 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22659.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Mar 2022 10:13:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Search for range of values on Wed, 02 Mar 2022 13:12:10 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> said in <a href="/post/74767">Search for range of values</a>:</p>
<blockquote>
<p dir="auto">\b69\d{2}.\d+\R</p>
</blockquote>
<p dir="auto">ahhhh sorry for my misunderstanding.</p>
<p dir="auto">Thank you very much :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74768</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74768</guid><dc:creator><![CDATA[Thomas Klinghan]]></dc:creator><pubDate>Wed, 02 Mar 2022 13:12:10 GMT</pubDate></item><item><title><![CDATA[Reply to Search for range of values on Wed, 02 Mar 2022 13:10:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-klinghan" aria-label="Profile: Thomas-Klinghan">@<bdi>Thomas-Klinghan</bdi></a></p>
<p dir="auto">You misread what I said:</p>
<blockquote>
<p dir="auto">you can get the “CRLF” included in your Find text by adding a \R at the far right.</p>
</blockquote>
<p dir="auto">I didn’t say add the <code>\R</code> to your replace text, I said add it to your find text, thus:</p>
<p dir="auto">Find: <code>\b69\d{2}\.\d+\R</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/74767</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74767</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 02 Mar 2022 13:10:17 GMT</pubDate></item><item><title><![CDATA[Reply to Search for range of values on Wed, 02 Mar 2022 13:06:51 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><br />
Okay, I get it. I added an <code>\R</code> to the replace field. I now search for <code>\b69\d{2}\.\d+</code> and replace it with a <code>\R</code>. Unfortunately I don’t get the desired result. I would like to search for the lines that look for a value in the range of 6900 and delete this line.<br />
By replacing with <code>\R</code> I get only a R CRLF (see photo).<br />
<img src="/assets/uploads/files/1646226276536-1.jpg" alt="1.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">In the end my text file should only consist of lines that contain the values in a range of values and no empty lines. (see photo)</p>
<p dir="auto"><img src="/assets/uploads/files/1646226402909-2.jpg" alt="2.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Unfortunately I can’t find a solution for this problem.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74766</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74766</guid><dc:creator><![CDATA[Thomas Klinghan]]></dc:creator><pubDate>Wed, 02 Mar 2022 13:06:51 GMT</pubDate></item><item><title><![CDATA[Reply to Search for range of values on Wed, 02 Mar 2022 12:17:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-klinghan" aria-label="Profile: thomas-klinghan">@<bdi>thomas-klinghan</bdi></a> said in <a href="/post/74764">Search for range of values</a>:</p>
<blockquote>
<p dir="auto">I can use the  Replace = $1 command to delete the row contents, but the row still exists as CRLF</p>
</blockquote>
<p dir="auto">Not sure what you mean by “Replace = $1” if you are talking about deleting the “row”(line), but… you can get the “CRLF” included in your Find text by adding a <code>\R</code> at the far right.  Then if you replace with something/nothing, the CRLF will get replaced (removed) as well as the other matched text.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74765</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74765</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 02 Mar 2022 12:17:31 GMT</pubDate></item><item><title><![CDATA[Reply to Search for range of values on Wed, 02 Mar 2022 12:13:10 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><br />
Hello Alan,<br />
thanks for your quick and helpful reply. The search method with … worked. But would like to search for the values and then automatically replace them with “delete row”.<br />
I can use the <code> Replace = $1</code> command to delete the row contents, but the row still exists as <code>CRLF</code>. Do you have a solution how I can remove the row with a replace?</p>
<p dir="auto"><img src="/assets/uploads/files/1646223159104-bevor_serach_replace.jpg" alt="Bevor_Serach_Replace.JPG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1646223159029-after_serach_replace.jpg" alt="After_Serach_Replace.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74764</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74764</guid><dc:creator><![CDATA[Thomas Klinghan]]></dc:creator><pubDate>Wed, 02 Mar 2022 12:13:10 GMT</pubDate></item><item><title><![CDATA[Reply to Search for range of values on Wed, 02 Mar 2022 11:53:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-klinghan" aria-label="Profile: thomas-klinghan">@<bdi>thomas-klinghan</bdi></a> said in <a href="/post/74760">Search for range of values</a>:</p>
<blockquote>
<p dir="auto">I’m trying to search in a column</p>
</blockquote>
<p dir="auto">If you mean to do this by selecting a column block first…then it can’t be done.</p>
<p dir="auto">(Well, I did post a <a href="https://community.notepad-plus-plus.org/post/71694">SOLUTION</a> to that using PythonScript plugin)</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-klinghan" aria-label="Profile: thomas-klinghan">@<bdi>thomas-klinghan</bdi></a> said in <a href="/post/74760">Search for range of values</a>:</p>
<blockquote>
<p dir="auto">I want to find all values between 6900 and 7000.</p>
</blockquote>
<p dir="auto">Find: <code>\b69\d{2}\.\d+</code></p>
<p dir="auto">If you really want 7000.0… to be included, you could do a separate search for it:</p>
<p dir="auto">Find: <code>\b7000\.\d+</code></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-klinghan" aria-label="Profile: thomas-klinghan">@<bdi>thomas-klinghan</bdi></a> said in <a href="/post/74760">Search for range of values</a>:</p>
<blockquote>
<p dir="auto">I would delete these lines</p>
</blockquote>
<p dir="auto">Probably use the <em>Mark</em> function with <em>Bookmark line</em> ticked.  Then <em>Delete Bookmarked Lines</em>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74763</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74763</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 02 Mar 2022 11:53:51 GMT</pubDate></item></channel></rss>