<?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[need help replacing multiple &quot;answers&quot; to these lines?]]></title><description><![CDATA[<p dir="auto">Hello, im completely new to NotePad++, and i need help figuring out how to change this all at once. i dont want to sit here and do it all individually lol.</p>
<p dir="auto">im using a minecraft mod config file and i want to change all the, for example,<br />
“stamina”: 1200</p>
<p dir="auto">to<br />
“stamina”: 9999</p>
<p dir="auto">or,<br />
“speedModifier”: 1.5,</p>
<p dir="auto">to<br />
“speedModifier”: 2,</p>
<p dir="auto">all of the “speedModifier” tokens (I think thats what theyre called) to 2, and all the “stamina” to 9999.</p>
<p dir="auto">heres an example snip.<br />
<img src="/assets/uploads/files/1730449002511-801693cb-73c1-496d-85ca-33fd52485b01-image.png" alt="801693cb-73c1-496d-85ca-33fd52485b01-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Help please!!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26266/need-help-replacing-multiple-answers-to-these-lines</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 22:58:35 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26266.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Nov 2024 08:19:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to need help replacing multiple &quot;answers&quot; to these lines? on Sat, 02 Nov 2024 19:27:35 GMT]]></title><description><![CDATA[<p dir="auto">You might also be able to achieve this with the query</p>
<pre><code class="language-txt">@..stamina = 9999;
@..speedModifier = 2
</code></pre>
<p dir="auto">in the <a href="https://github.com/molsonkiko/JsonToolsNppPlugin" rel="nofollow ugc">JsonTools plugin</a>.</p>
<p dir="auto">In this case a regex-based solution as described by Thomas Knoefel will work fine, but if you want more control over how you manipulate your JSON, a JSON parser like JsonTools is likely a better option.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/97495</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/97495</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Sat, 02 Nov 2024 19:27:35 GMT</pubDate></item><item><title><![CDATA[Reply to need help replacing multiple &quot;answers&quot; to these lines? on Sat, 02 Nov 2024 03:20:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-knoefel" aria-label="Profile: Thomas-Knoefel">@<bdi>Thomas-Knoefel</bdi></a> said in <a href="/post/97471">need help replacing multiple "answers" to these lines?</a>:</p>
<blockquote>
<p dir="auto">Find what: “speedModifier”:\s*\d+(.\d+)?</p>
</blockquote>
<p dir="auto">THANK YOU SO MUCH!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/97476</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/97476</guid><dc:creator><![CDATA[Chrismatt D]]></dc:creator><pubDate>Sat, 02 Nov 2024 03:20:43 GMT</pubDate></item><item><title><![CDATA[Reply to need help replacing multiple &quot;answers&quot; to these lines? on Fri, 01 Nov 2024 09:03:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chrismatt-d" aria-label="Profile: Chrismatt-D">@<bdi>Chrismatt-D</bdi></a></p>
<p dir="auto">You have to enable “Regular expression” in Replace and you will add<br />
<strong>Find what:</strong> <code>"stamina":\s*\d+</code><br />
<strong>Replace with:</strong> <code>"stamina": 9999</code></p>
<p dir="auto"><strong>Find what:</strong> <code>"speedModifier":\s*\d+(\.\d+)?</code><br />
<strong>Replace with:</strong> <code>"speedModifier": 2</code></p>
<p dir="auto">You can do each replacement separately, or manage all replacements in a list using the MultiReplace plugin.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/97471</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/97471</guid><dc:creator><![CDATA[Thomas Knoefel]]></dc:creator><pubDate>Fri, 01 Nov 2024 09:03:27 GMT</pubDate></item></channel></rss>