<?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[replacing all in line with veried numbers1]]></title><description><![CDATA[<p dir="auto">playing a zombie game and they use XML to change alot of their options. (vanilla and modded) i’m trying to remove the spawn chance of a zombie but all the chances are in different numbers… and there’s nearly 600 of them. how do i use the replace function to change all the chances to 0, with each line having a different chance number?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26092/replacing-all-in-line-with-veried-numbers1</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 22:32:54 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26092.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Sep 2024 00:51:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to replacing all in line with veried numbers1 on Sun, 08 Sep 2024 01:38:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/31519">@darkfang1989</a> said in <a href="/post/96473">replacing all in line with veried numbers1</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26710">@Mark-Olson</a></p>
<p dir="auto">&lt;csv xpath=“/entitygroups/entitygroup[@name=‘sleeperHordeStageGS332’]/text()” delim=“\n” op=“add” &gt;<br />
zombieFatHawaiianElite, .24<br />
zombieFemaleFatElite, .24<br />
zombieHazmatElite, .39<br />
zombieLumberjackElite, .39<br />
zombieSoldierElite, .39<br />
zombieLabElite, .58<br />
zombieSpiderElite, .58</p>
<p dir="auto">this is one of the blocks, all blocks having different numbers. i would like to know if there’s a way to change the “zombieSpiderElite, .58” number in each block despite the number being different in each one.</p>
</blockquote>
<p dir="auto">You can use regular expression replacement to do that. From the main menu, select <strong>Search</strong> | <strong>Replace…</strong>, then enter:</p>
<p dir="auto"><strong>Find what: <code>(?&lt;=zombieSpiderElite,)\s*[.\d]+</code></strong><br />
<strong>Replace with: <code> .00</code></strong> <em>(note: there is a space before the period, but you can’t see it here)</em><br />
<strong>Wrap around:</strong> <em>checked</em><br />
<strong>Search Mode: Regular expression</strong></p>
<p dir="auto">and click the <strong>Replace All</strong> button.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96474</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96474</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Sun, 08 Sep 2024 01:38:29 GMT</pubDate></item><item><title><![CDATA[Reply to replacing all in line with veried numbers1 on Sun, 08 Sep 2024 01:06:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26710">@Mark-Olson</a></p>
<pre><code>&lt;csv xpath="/entitygroups/entitygroup[@name='sleeperHordeStageGS332']/text()" delim="\n" op="add" &gt;
	zombieFatHawaiianElite, .24
	zombieFemaleFatElite, .24
	zombieHazmatElite, .39
	zombieLumberjackElite, .39
	zombieSoldierElite, .39
	zombieLabElite, .58
	zombieSpiderElite, .58
</code></pre>
<p dir="auto">this is one of the blocks, all blocks having different numbers. i would like to know if there’s a way to change the “zombieSpiderElite, .58” number in each block despite the number being different in each one.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96473</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96473</guid><dc:creator><![CDATA[darkfang1989]]></dc:creator><pubDate>Sun, 08 Sep 2024 01:06:03 GMT</pubDate></item><item><title><![CDATA[Reply to replacing all in line with veried numbers1 on Sun, 08 Sep 2024 00:59:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/31519">@darkfang1989</a> said in <a href="/post/96471">replacing all in line with veried numbers1</a>:</p>
<blockquote>
<p dir="auto">how do i use the replace function to change all the chances to 0, with each line having a different chance number?</p>
</blockquote>
<p dir="auto">You haven’t provided nearly enough information for anybody to help you.</p>
<p dir="auto">I recommend that you provide a <em>short example</em> (maybe a small XML snippet containing four elements that you want to change) of what your file will initially look like and what it should look like at the end. <a href="https://community.notepad-plus-plus.org/topic/21925/faq-formatting-forum-posts">Read the FAQ on formatting forum posts</a> for guidance.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96472</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96472</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Sun, 08 Sep 2024 00:59:08 GMT</pubDate></item></channel></rss>