<?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 multi replace?]]></title><description><![CDATA[<p dir="auto">Hello dear everybody,</p>
<p dir="auto">I searched for a possibility to do Multi search and replace -Jobs in one turn. Is this possible native and I just didn’t find? Or is it possible trough macros?</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/11385/how-to-multi-replace</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 18:59:36 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/11385.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Feb 2016 11:52:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how to multi replace? on Tue, 01 Mar 2016 21:07:19 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a>,</p>
<p dir="auto">well, to be honest, I never tried it - I hope Thomas understood that I was talking about <strong>normal</strong> searches.<br />
I should have mentioned it more clearly, for sure.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14429</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14429</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 01 Mar 2016 21:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to how to multi replace? on Tue, 01 Mar 2016 20:46:06 GMT]]></title><description><![CDATA[<p dir="auto">Hello <strong>Thomas</strong> and <strong>Claudia</strong>,</p>
<p dir="auto">@Claudia :</p>
<p dir="auto">Ah! I didn’t know that N++ was able to recorder <strong>successive</strong> S/R, in an <strong>unique</strong> macro ! This may be useful, sometimes. By the way, you can, either, hit the <strong>ALT + A</strong> shortcut or click, with the mouse, on the <strong>Replace All</strong> button. You may, also, choose the <strong>options</strong> with the mouse. It doesn’t matter :-))</p>
<p dir="auto">@Thomas :</p>
<p dir="auto">If you just need <strong>less</strong> than, let’s say, <strong>five</strong> S/R, you’d better choose <strong>regular</strong> search and replace expressions, instead.</p>
<p dir="auto">Indeed, for instance, with the <strong>search</strong> field, below :</p>
<pre><code>(aaa)|(ccc)|(eee)|(123)
</code></pre>
<p dir="auto">and the <strong>replace</strong> field below:</p>
<pre><code>(?1bbb)(?2ddd)(?3fff)(?{4}456)
</code></pre>
<ul>
<li>
<p dir="auto">The string <strong>aaa</strong> is changed into <strong>bbb</strong></p>
</li>
<li>
<p dir="auto">The string <strong>ccc</strong> is changed into <strong>ddd</strong></p>
</li>
<li>
<p dir="auto">The string <strong>eee</strong> is changed into <strong>fff</strong></p>
</li>
<li>
<p dir="auto">The string <strong>123</strong> is changed into <strong>456</strong></p>
</li>
</ul>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">Be sure that the <strong>Regular expression</strong> search mode is <strong>checked</strong></p>
</li>
<li>
<p dir="auto">The <strong>search</strong> regex tries to match, either, the strings <strong>aaa</strong>, <strong>ccc</strong>, <strong>eee</strong> or <strong>123</strong>, which are stored, accordingly, as group <strong>1</strong>, <strong>2</strong>, <strong>3</strong>, and <strong>4</strong></p>
</li>
<li>
<p dir="auto">The <strong>replace</strong> regex force to change these search strings with the strings <strong>bbb</strong>, <strong>ddd</strong>, <strong>fff</strong> or <strong>456</strong>, accordingly to the <strong>matched</strong> group</p>
</li>
<li>
<p dir="auto">Just note that the syntax <strong><code>?4</code></strong> is simply re-written as <strong><code>?{4}</code></strong> for <strong>NOT mixing</strong> the <strong>group</strong> number, with the <strong>literal following</strong> digits ( <strong>456</strong> ), which must replace the string <strong>123</strong> !</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14425</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14425</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 01 Mar 2016 20:46:06 GMT</pubDate></item><item><title><![CDATA[Reply to how to multi replace? on Mon, 29 Feb 2016 13:33:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello Claudia,</p>
<p dir="auto">I will try this.</p>
<p dir="auto">Thanks and best regards, Thomas</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14389</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14389</guid><dc:creator><![CDATA[Thomas Hofmann]]></dc:creator><pubDate>Mon, 29 Feb 2016 13:33:16 GMT</pubDate></item><item><title><![CDATA[Reply to how to multi replace? on Mon, 29 Feb 2016 12:50:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello Thomas,</p>
<p dir="auto">ok, is it always the same data you wanna search for and replace with?<br />
Then it might be even possible to record a macro.<br />
Maybe you wanna give it a try first?</p>
<p dir="auto">Click Macro-&gt;Start Recording<br />
Press CTRL(STRG)+h<br />
Fill in what you are searching for<br />
and with what it needs to be replaced.<br />
Replace dialog should be still open, press ALT+A<br />
now put in what needs to be searched and replaced next.<br />
Press ALT+A again, do this until it’s done.<br />
Close Replace dialog window and click Menu-&gt;Stop Recording.</p>
<p dir="auto">To see if the macro really works press CTRL(STRG)+Z as many times as need to<br />
get the initial version of the document then click Macro-&gt;Playback.</p>
<p dir="auto">If it results in what you want Click-&gt;Macro-&gt;SaveCurrentRecordedMacro and give it a meaningful name.<br />
From now on, it should appear in the Macro Menu.</p>
<p dir="auto">If this doesn’t help or you want to go the regex way we need to have your data and the<br />
information what you want to search and replace with.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14387</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14387</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 29 Feb 2016 12:50:09 GMT</pubDate></item><item><title><![CDATA[Reply to how to multi replace? on Mon, 29 Feb 2016 12:23:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello Claudia,</p>
<p dir="auto">it is just as you did guess. I wanted multiple search-/replace-jobs in one Job.</p>
<p dir="auto">repalce “aaa” with “bbb”<br />
replace “ccc” with “ddd”<br />
and so on</p>
<p dir="auto">regexp should be applicable.</p>
<p dir="auto">best regards</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14385</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14385</guid><dc:creator><![CDATA[Thomas Hofmann]]></dc:creator><pubDate>Mon, 29 Feb 2016 12:23:40 GMT</pubDate></item><item><title><![CDATA[Reply to how to multi replace? on Mon, 29 Feb 2016 12:11:01 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-hofmann" aria-label="Profile: Thomas-Hofmann">@<bdi>Thomas-Hofmann</bdi></a>,</p>
<p dir="auto">what do you mean by multi-search and replaces</p>
<ul>
<li>first looking for abc and replace with xyz</li>
<li>next looking for def and replace with rts<br />
and so on?<br />
If so, it could be that it is natively supported but depends if<br />
it can be searched and replaced by regexes.<br />
If not, could you explain it in more detail.<br />
And of course there are other ways like using scripting languages like lua, python etc…</li>
</ul>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14383</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14383</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 29 Feb 2016 12:11:01 GMT</pubDate></item></channel></rss>