<?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-replace]]></title><description><![CDATA[<p dir="auto">Is it possible to save my search-replace for later use?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19195/search-replace</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 10:35:55 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19195.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Apr 2020 13:10:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to search-replace on Fri, 10 Apr 2020 16:04:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/khk-khk" aria-label="Profile: khk-khk">@<bdi>khk-khk</bdi></a> Thanx to all - I’ll try</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52385</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52385</guid><dc:creator><![CDATA[khk khk]]></dc:creator><pubDate>Fri, 10 Apr 2020 16:04:03 GMT</pubDate></item><item><title><![CDATA[Reply to search-replace on Fri, 10 Apr 2020 14:01:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/khk-khk" aria-label="Profile: khk-khk">@<bdi>khk-khk</bdi></a></p>
<blockquote>
<p dir="auto">possible to save my search-replace</p>
</blockquote>
<p dir="auto">How about recording and saving a macro of it?  A potential downside is that it becomes a “fixed” operation at that point, you can’t easily edit it to tweak it.  You’d have to find it in <code>shortcuts.xml</code> to do that.</p>
<p dir="auto">Far from ideal, but if you have a search-not-replace operation and you record it in the context of a <em>Find all in current document</em> macro, when you run it, it (the search expression) will appear in the <code>Search "blah" (10 hits in 1 file)</code> area and you can easily then copy the <code>blah</code> part out and tweak it for a subsequent search.  I find this useful sometimes in the context of a complicated regular expression search.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<blockquote>
<p dir="auto">save the last 10 or so expressions,</p>
</blockquote>
<p dir="auto">Yes but as they are not saved as <em>pairs</em> it is easy to lose track of which search term goes with which replace.  And you can’t give it a mnemonic name like you can with a macro.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52375</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52375</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 10 Apr 2020 14:01:31 GMT</pubDate></item><item><title><![CDATA[Reply to search-replace on Fri, 10 Apr 2020 13:48:31 GMT]]></title><description><![CDATA[<p dir="auto">The search/replace dialogs save the last 10 or so expressions, which you can access with the up/down arrows while you’re in the blanks.</p>
<p dir="auto">Do you need more than that?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52374</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52374</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 10 Apr 2020 13:48:31 GMT</pubDate></item></channel></rss>