<?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 replace a value after a statement?]]></title><description><![CDATA[<p dir="auto">I want to replace a number that comes after a statement, more specifically: factor = “number” [without the "]. Is there any way how I can replace all numbers after factor = without doing it manually? For example, I want to replace all numbers that come after factor = with 40, the numbers after factor = are completely random, is there any way how to automatically replace it?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15607/how-to-replace-a-value-after-a-statement</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 20:17:54 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15607.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Apr 2018 20:59:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to replace a value after a statement? on Thu, 12 Apr 2018 21:57:38 GMT]]></title><description><![CDATA[<p dir="auto">Thank you so much, you are a saviour</p>
]]></description><link>https://community.notepad-plus-plus.org/post/31624</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/31624</guid><dc:creator><![CDATA[Rathard]]></dc:creator><pubDate>Thu, 12 Apr 2018 21:57:38 GMT</pubDate></item><item><title><![CDATA[Reply to How to replace a value after a statement? on Thu, 12 Apr 2018 21:50:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rathard" aria-label="Profile: Rathard">@<bdi>Rathard</bdi></a></p>
<p dir="auto">Yes, you could try:</p>
<p dir="auto"><strong>Find what</strong> zone: <code>(?-i)factor = \d+</code><br />
<strong>Replace with</strong> zone: <code>factor = 40</code><br />
<strong>Search mode</strong>: Regular expression</p>
<p dir="auto">The <code>(?-i)</code> means the case of what follows is important to the match – in this case it means that <code>factor</code> will match but <code>FACTOR</code> or <code>Factor</code> or … will NOT match.  If the case of <code>factor</code> doesn’t matter to you, you can use <code>(?i)</code> instead.</p>
<p dir="auto">The <code>\d+</code> part means that at that location in a potentially matching string, a series of one or more digit characters must occur for the match to be “made” and consequently replaced by the replace-with text.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/31623</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/31623</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Thu, 12 Apr 2018 21:50:51 GMT</pubDate></item></channel></rss>