<?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[I would like a plugin that lets you write code in JS to Find in File]]></title><description><![CDATA[<p dir="auto">After concluding Regex is not real, I would like to have a plugin that asks me to write a code that looks like this:</p>
<pre><code>function _find_in_file(textArray, resultsArray)
{
for(let i=0;i &lt; textArray.length;i++)
{
let originalText = textArray[i];
let alteredText = textArray[i];

removeIdentation(alteredText );

if(alteredText.startsWith("PrintToChat(")
{

// The array is the text that will be matched, obviously it will require also pushing the file the text is in, and the position it's in.
resultsArray.push(originalText);
}
continue;
}
}
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/topic/23961/i-would-like-a-plugin-that-lets-you-write-code-in-js-to-find-in-file</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 19:41:38 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23961.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Jan 2023 09:16:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I would like a plugin that lets you write code in JS to Find in File on Mon, 02 Jan 2023 02:00:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/27249">@Eyal282</a> said in <a href="/post/82931">I would like a plugin that lets you write code in JS to Find in File</a>:</p>
<blockquote>
<p dir="auto">Basically anti wildcard on *PrintToChat(</p>
</blockquote>
<p dir="auto">You don’t need “anti-wildcard”.  You need “boundary” from the zero-width assertions.  <code>\bPrintToChat\b</code> will search for that text, requiring either start-of-line or spaces/tabs or punctuation before, and end-of-line or spaces/tabs or punctuation after</p>
]]></description><link>https://community.notepad-plus-plus.org/post/82954</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/82954</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 02 Jan 2023 02:00:49 GMT</pubDate></item><item><title><![CDATA[Reply to I would like a plugin that lets you write code in JS to Find in File on Mon, 02 Jan 2023 01:27:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/27249">@Eyal282</a> said in <a href="/post/82931">I would like a plugin that lets you write code in JS to Find in File</a>:</p>
<blockquote>
<p dir="auto">The objective is after removing any indents or \n \t \0 \x</p>
</blockquote>
<p dir="auto">So, to encapsulate, you’re trying to remove <code>\n</code> (newline), <code>\t</code> (tab), I get these, but <code>\0</code> or <code>\x</code> I don’t understand, unless you’re trying to remove a hex number <code>\0xa0</code> and/or <code>\0x0d</code> type of thing. For those that might be able to help, you really should elaborate EXACTLY in the style of this forum available in the FAQ’s section <a href="https://community.notepad-plus-plus.org/topic/22022/faq-desk-template-for-search-replace-questions">here</a> for how to format and phrase, the text or symbols you want removed.</p>
<p dir="auto">Good luck.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/82952</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/82952</guid><dc:creator><![CDATA[Lycan Thrope]]></dc:creator><pubDate>Mon, 02 Jan 2023 01:27:46 GMT</pubDate></item><item><title><![CDATA[Reply to I would like a plugin that lets you write code in JS to Find in File on Sun, 01 Jan 2023 09:20:46 GMT]]></title><description><![CDATA[<p dir="auto">I searched for 10 whole minutes, and wrote the code in 2 minutes.</p>
<p dir="auto">The objective is after removing any indents or \n \t \0 \x<br />
is to match for PrintToChat(…<br />
and to not match for PrintToChatAll(…<br />
and to not match for RP_PrintToChat</p>
<p dir="auto">Basically anti wildcard on *PrintToChat(</p>
<p dir="auto">Unfortunately could not find “anti wild card”</p>
]]></description><link>https://community.notepad-plus-plus.org/post/82931</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/82931</guid><dc:creator><![CDATA[Eyal282]]></dc:creator><pubDate>Sun, 01 Jan 2023 09:20:46 GMT</pubDate></item></channel></rss>