<?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[help with formula]]></title><description><![CDATA[<p dir="auto">ok I’m getting flagged as spam (not sure why) so I’m going to try to post this…</p>
<p dir="auto">question<br />
I need to add in two lines of text<br />
training             57<br />
and<br />
tazertrained    true</p>
<p dir="auto">after the line:<br />
BodyArmour           StabVest</p>
<p dir="auto">and before the line<br />
END</p>
<p dir="auto">do you know how to add in the two last lines<br />
note: they should be indented</p>
<p dir="auto"><a href="http://www78.zippyshare.com/v/r6Sh5S7m/file.html" rel="nofollow ugc">http://www78.zippyshare.com/v/r6Sh5S7m/file.html</a><br />
screenshot</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/12113/help-with-formula</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 20:43:25 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12113.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Jul 2016 06:18:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to help with formula on Tue, 19 Jul 2016 20:17:13 GMT]]></title><description><![CDATA[<p dir="auto">ps the file is safe to download i used several virus programs…<br />
windows must not like that site…or maybe its just my windows that doesn’t like it, … just click and override the notice to download.</p>
<p dir="auto">i have uploaded it to a new site, in case you don’t want to download that one…</p>
<p dir="auto"><a href="http://www.filedropper.com/example1" rel="nofollow ugc">http://www.filedropper.com/example1</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/16934</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16934</guid><dc:creator><![CDATA[Joe Blow]]></dc:creator><pubDate>Tue, 19 Jul 2016 20:17:13 GMT</pubDate></item><item><title><![CDATA[Reply to help with formula on Tue, 19 Jul 2016 19:57:00 GMT]]></title><description><![CDATA[<p dir="auto"><a href="http://www69.zippyshare.com/v/0BUpiELZ/file.html" rel="nofollow ugc">http://www69.zippyshare.com/v/0BUpiELZ/file.html</a></p>
<p dir="auto">the file, so you see the whole picture (Notepad++ doc)<br />
p.s. use the download link that’s on the right…the other is for zip share software.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16933</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16933</guid><dc:creator><![CDATA[Joe Blow]]></dc:creator><pubDate>Tue, 19 Jul 2016 19:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to help with formula on Tue, 19 Jul 2016 19:36:59 GMT]]></title><description><![CDATA[<p dir="auto">i misread your response, the blank characters are tabs of size 8…<br />
(except for the “begin” and “end” lines they are 4.)…every thing else is correct in your interpretation of the picture. (a few lines start at the very first character…the rest of the lines are tabulations of either 4 or 8.</p>
<p dir="auto">using the 8 tabulation…what would the search and replace formula look like?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16931</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16931</guid><dc:creator><![CDATA[Joe Blow]]></dc:creator><pubDate>Tue, 19 Jul 2016 19:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to help with formula on Tue, 19 Jul 2016 19:16:42 GMT]]></title><description><![CDATA[<p dir="auto">that’s great…just what I needed. thanks again guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16930</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16930</guid><dc:creator><![CDATA[Joe Blow]]></dc:creator><pubDate>Tue, 19 Jul 2016 19:16:42 GMT</pubDate></item><item><title><![CDATA[Reply to help with formula on Tue, 19 Jul 2016 19:16:39 GMT]]></title><description><![CDATA[<p dir="auto">Hello <strong>Joe</strong>,</p>
<p dir="auto">If I refer, <strong>strictly</strong> to your picture, it seems that your <strong>blank</strong> characters are <strong>tabulations</strong>, of size = <strong>4</strong> and that the text must be added in the <strong>split</strong> line <strong>191</strong>, with <strong>indentation</strong>. If this is correct I would say, in <strong>regular expression</strong> search mode :</p>
<p dir="auto">SEARCH = <strong><code>\tBodyArmour\t+StabVest\R(?=END)</code></strong></p>
<p dir="auto">REPLACE = <strong><code>$0\tTraining\t\t\t57.06245\r\n\tTazerTrained\t\ttrue\r\n</code></strong></p>
<p dir="auto">Click on the button <strong>Replace</strong> to add the <strong>two</strong> lines <strong>Training… True</strong>, after the <strong>selection</strong>, or on the <strong>Find Next</strong> button to search the <strong>next</strong> group <strong>BodyArmour…END</strong></p>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">The <strong>escaped</strong> character <strong><code>\t</code></strong> represents a <strong>tabulation</strong> character</p>
</li>
<li>
<p dir="auto">The <strong><code>\R</code></strong> syntax stands for <strong>any</strong> kind of <strong>End of Line</strong></p>
</li>
<li>
<p dir="auto">In replacement, the syntax <strong><code>$0</code></strong> is the <strong>whole</strong> searched match, that is to say, the string from the <strong>tabulation</strong> before <strong>BodyArmour</strong> to the two <strong>End of Line</strong> characters, included</p>
</li>
<li>
<p dir="auto">Note that the key-word <strong>END</strong> is <strong>NOT</strong> included in the whole searched match, although it’s a <strong>condition</strong>, enclosed in a positive <strong>look-ahead</strong>, that must be verified to get a <strong>global positive</strong> match !</p>
</li>
<li>
<p dir="auto">In replacement, the syntax <strong><code>\R</code></strong> is <strong>forbidden</strong> and you must to change it into <strong><code>\r\n</code></strong>, for <strong>Windows</strong> files or into <strong><code>\n</code></strong>, for <strong>Unix</strong> files</p>
</li>
</ul>
<p dir="auto">So, from the text :</p>
<pre><code>	BodyArmour			StabVest
END
</code></pre>
<p dir="auto">We get the <strong>new</strong> text, below :</p>
<pre><code>	BodyArmour			StabVest
	Training			57.06245
	TazerTrained		true
END
</code></pre>
<hr />
<p dir="auto">Just tell me if you would prefer to search and replace, <em>directly</em>, in <strong>NOT split</strong> lines , as all the lines different from <strong>#191</strong></p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16929</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16929</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 19 Jul 2016 19:16:39 GMT</pubDate></item></channel></rss>