<?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 some help with find and replace]]></title><description><![CDATA[<p dir="auto">i need some help, i want to find and replace the age value and make it 7200.000… but not change any of the other text.</p>
<p dir="auto">example<br />
BEGIN “[i 0]”      Id.i 0  Id.u 14649  Type Tree  SubType 2  Pos.x 133.0000  Pos.y 59.00000  Age 1529.771  END<br />
BEGIN “[i 1]”      Id.i 1  Id.u 20202  Type Garbage  SubType 2  Pos.x 198.0007  Pos.y 113.3049  Lifetime 1365.457  END<br />
BEGIN “[i 2]”      Id.i 2  Id.u 9337  Type Tree  SubType 2  Pos.x 4.999023  Pos.y 62.23138  Age 400.000  END<br />
BEGIN “[i 3]”      Id.i 3  Id.u 9338  Type Tre7 SubType 2  Pos.x 9.386169  Pos.y 20.61072  Age 200.000  END<br />
now as you see, i have alot of lines that state begin…type tree…age ##### end<br />
i want to chage the ##### value to 7200.000 without changing anything else…how do i do that??</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/10848/need-some-help-with-find-and-replace</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 12:42:50 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/10848.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Nov 2015 23:29:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to need some help with find and replace on Sat, 21 Nov 2015 01:07:07 GMT]]></title><description><![CDATA[<p dir="auto">thank you</p>
]]></description><link>https://community.notepad-plus-plus.org/post/12192</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/12192</guid><dc:creator><![CDATA[Clearinghouse Forsale]]></dc:creator><pubDate>Sat, 21 Nov 2015 01:07:07 GMT</pubDate></item><item><title><![CDATA[Reply to need some help with find and replace on Sun, 20 Nov 2022 14:32:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3627">@clearinghouse-forsale</a>,</p>
<p dir="auto">Quite easy to achieve, with <strong>regular</strong> expressions :-)</p>
<ul>
<li>
<p dir="auto">Open the <strong>Replace</strong> dialog ( <strong>CTRL + H</strong> )</p>
</li>
<li>
<p dir="auto">Select the <strong>Regular expression</strong> search mode</p>
</li>
<li>
<p dir="auto">Preferably, check the <strong>Match case</strong> option</p>
</li>
<li>
<p dir="auto">Check the <strong>Wrap around</strong> option, if necessary</p>
</li>
<li>
<p dir="auto">In the  <strong>Find What</strong> zone, type <strong><code> Age \K.+(?= END)</code></strong></p>
</li>
</ul>
<p dir="auto"><strong>Remark</strong> : There a <strong>space</strong>, before the word <strong>Age</strong> AND after it, as well as before the word <strong>END</strong> !</p>
<ul>
<li>
<p dir="auto">In the <strong>Replace with</strong> zone, type, simply, the string <strong><code>7200.000</code></strong></p>
</li>
<li>
<p dir="auto">Click on the <strong>Replace All</strong> button</p>
</li>
</ul>
<p dir="auto">Et voilà !</p>
<p dir="auto">Notes :</p>
<ul>
<li>
<p dir="auto">First, it searches for the word <strong>Age</strong>, surrounded with <strong>2</strong> <strong>spaces</strong>  ( <strong><code>Age</code></strong> )</p>
</li>
<li>
<p dir="auto">Due to the <strong>\K</strong> form, this <strong>previous</strong> match is <strong>forgotten</strong> by the regex engine</p>
</li>
<li>
<p dir="auto">Then, it tries to match a <strong>non empty</strong> list of characters (<strong><code>.+ </code></strong> )</p>
</li>
<li>
<p dir="auto">But <strong>ONLY IF</strong> that list is followed with a <strong>space</strong> and the word <strong>END</strong>  ( <strong><code>(?= END)</code></strong> ). The syntax <strong><code>(?= END)</code></strong> is called a <strong>look-ahead</strong>, that must be verified, but that it’s <strong>NOT</strong> part of the <strong>final</strong> text matched. So, the strings, matched, are only the strings like <strong>1365.457</strong>, <strong>400.000</strong>, or <strong>200.000</strong>, located after the word <strong>Age</strong></p>
</li>
<li>
<p dir="auto">In the <strong>Replace</strong> zone, these different <strong>matched</strong> strings are, simply, replaced with the string <strong>7200.000</strong></p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/12191</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/12191</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 20 Nov 2022 14:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to need some help with find and replace on Sat, 21 Nov 2015 00:44:16 GMT]]></title><description><![CDATA[<p dir="auto">can it even be done?<br />
only changing a part of certain lines without altering the other parts of those lines???</p>
]]></description><link>https://community.notepad-plus-plus.org/post/12190</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/12190</guid><dc:creator><![CDATA[Clearinghouse Forsale]]></dc:creator><pubDate>Sat, 21 Nov 2015 00:44:16 GMT</pubDate></item></channel></rss>