<?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[Blogs]]></title><description><![CDATA[Share personal tips and cool uses for Notepad++, and similar]]></description><link>https://community.notepad-plus-plus.org/category/3</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 04:11:00 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/category/3.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 19 Jul 2026 08:36:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[An incredible 4-6 loss !]]></title><description><![CDATA[Seems they decided that it they couldn’t be the heroes, rhat they would be the villains.
]]></description><link>https://community.notepad-plus-plus.org/topic/27607/an-incredible-4-6-loss</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/27607/an-incredible-4-6-loss</guid><dc:creator><![CDATA[David Brigden52]]></dc:creator><pubDate>Sun, 19 Jul 2026 08:36:30 GMT</pubDate></item><item><title><![CDATA[Please add automatic file saving to the directory]]></title><description><![CDATA[
@PeterJones said:
Notepad++ copies the current contents of the file on disk

Yes, function “Backup on save” does exactly that, it’s not suitable. I need to save the current version of an open document. I will use third-party software to save a copy of the file on external flash disk to the specified directory on the PC. Writing plugins for Notepad++ is very interesting, but there is absolutely no time for it. Thank you.
]]></description><link>https://community.notepad-plus-plus.org/topic/27550/please-add-automatic-file-saving-to-the-directory</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/27550/please-add-automatic-file-saving-to-the-directory</guid><dc:creator><![CDATA[Sergey S]]></dc:creator><pubDate>Thu, 28 May 2026 16:57:04 GMT</pubDate></item><item><title><![CDATA[Word frequency list]]></title><description><![CDATA[Hi, All,
Second and last post regarding the Word_Frequency macro !
Now, a simple example :


Open the change.log file of the last release v8.9.6


Do a stream selection of all the points of the v8.9.6 release, ONLY. So, the lines below :


 1. Fix vulnerability (CVE-2026-46710) of v8.9.4 &amp; v8.9.5 installer.
 2. Fix x86 installer regression of not showing installation entry in Control Panel's "Unstall a program".
 3. Fix x86 installer regression where context menu not installed or uninstalled correctly.
 4. Fix UAC prompt display regression (“Notepad++ installer” instead of “Notepad++”) for Notepad++ v8.9.5.
 5. Fix incorrect bevaviour when saving dirty read-only files.
 6. Fix regression where saving a UDL file removed XML declaration.

Run the Word_Frequency macro. You should get, at once, this OUTPUY text :
1                                                  :      1
2                                                  :      1
3                                                  :      1
4                                                  :      2
5                                                  :      3
6                                                  :      1
9                                                  :      3
CVE-2026-46710                                     :      1
Control                                            :      1
Fix                                                :      6
Notepad                                            :      3
Panel's                                            :      1
UAC                                                :      1
UDL                                                :      1
Unstall                                            :      1
XML                                                :      1
a                                                  :      2
bevaviour                                          :      1
context                                            :      1
correctly                                          :      1
declaration                                        :      1
dirty                                              :      1
display                                            :      1
entry                                              :      1
file                                               :      1
files                                              :      1
for                                                :      1
in                                                 :      1
incorrect                                          :      1
installation                                       :      1
installed                                          :      1
installer                                          :      4
instead                                            :      1
menu                                               :      1
not                                                :      2
of                                                 :      3
or                                                 :      1
program                                            :      1
prompt                                             :      1
read-only                                          :      1
regression                                         :      4
removed                                            :      1
saving                                             :      2
showing                                            :      1
uninstalled                                        :      1
v8                                                 :      3
vulnerability                                      :      1
when                                               :      1
where                                              :      2
x86                                                :      2


If you prefer a ordered list ignoring the case, simply insert the regex replacement, below
            &lt;Action type="3" message="1700" wParam="0" lParam="0" sParam="" /&gt;
            &lt;Action type="3" message="1601" wParam="0" lParam="0" sParam="(?x-i) \u+" /&gt;
            &lt;Action type="3" message="1625" wParam="0" lParam="2" sParam="" /&gt;
            &lt;Action type="3" message="1602" wParam="0" lParam="0" sParam="\L$0" /&gt;
            &lt;Action type="3" message="1702" wParam="0" lParam="640" sParam="" /&gt;
            &lt;Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /&gt;

Right before the sort line :
            &lt;Action type="2" message="0" wParam="42059" lParam="0" sParam="" /&gt;


Here is the trick to get the right number of occurrences when &gt; 99,999.

Search for any remaining ¶ character with the regex ¶+ . Let’s suppose you have this line :

the                                                :      ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶97371

As the number of consecutive ¶ is 23, the exact of occurrences of the word the is : 23 × 10000 + 97,371 i.e. 327,371 occurrences

Remember that the first thing to do, before running the Word_Frequency macro, is to select part or all current file contents !
Best Regards,
guy038
]]></description><link>https://community.notepad-plus-plus.org/topic/27546/word-frequency-list</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/27546/word-frequency-list</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 26 May 2026 08:33:08 GMT</pubDate></item><item><title><![CDATA[Surprising regular expression !]]></title><link>https://community.notepad-plus-plus.org/topic/27511/surprising-regular-expression</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/27511/surprising-regular-expression</guid><pubDate>Sun, 26 Apr 2026 12:27:21 GMT</pubDate></item><item><title><![CDATA[Featured special event !]]></title><description><![CDATA[Hello, All,
In summary, a wedding is :


Lots of preparation the day before


Lots of celebrations in the evening and the night


Lots of cleaning up the next day



We were extremely fortunate to have beautiful weather and pleasant temperatures for the season.!
My daughter, being a schoolteacher, had naturally chosen the All Saints’ Day school holidays.
The wedding took place in the Chartreuse Mountains (1,000 m), near Grenoble.

At the Town Hall :
[image: 1761340828816-0aed2d1e-a6d0-48da-92f1-94fac8620ac7-20251018_19_c-resized.jpg]
In Chartreuse :
[image: 1761341333427-6af1599e-5a7a-4063-912e-389b35bf06c4-20251019_99_c-resized.jpg]
Best Regards,
guy038
]]></description><link>https://community.notepad-plus-plus.org/topic/27190/featured-special-event</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/27190/featured-special-event</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 15 Oct 2025 16:14:40 GMT</pubDate></item><item><title><![CDATA[THE game of the summer !]]></title><description><![CDATA[Talking about “the game of the summer,” it’s always interesting to see how different communities interpret “fun” — for some that’s about building an in‑game world, for others it’s just kicking back and enjoying downtime.
]]></description><link>https://community.notepad-plus-plus.org/topic/27031/the-game-of-the-summer</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/27031/the-game-of-the-summer</guid><dc:creator><![CDATA[Tomas Virgin]]></dc:creator><pubDate>Wed, 23 Jul 2025 21:31:31 GMT</pubDate></item><item><title><![CDATA[My Travel-Inspired Coding Routine (With Cruise Quotes!)]]></title><link>https://community.notepad-plus-plus.org/topic/26865/my-travel-inspired-coding-routine-with-cruise-quotes</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/26865/my-travel-inspired-coding-routine-with-cruise-quotes</guid><pubDate>Mon, 12 May 2025 15:20:17 GMT</pubDate></item><item><title><![CDATA[Generic Regex : How to use the couple of &quot;Backtracking Control&quot; verbs (*SKIP)(*FAIL) or (*SKIP)(*F) in regexes]]></title><description><![CDATA[Another example can be seen at https://community.notepad-plus-plus.org/topic/27601/with-the-help-of-a-regex-how-to-find-code-preceded-by-a-only-if-code-is-absent-between-style-and-style-in-the-css-section-which-is-below/4
]]></description><link>https://community.notepad-plus-plus.org/topic/26812/generic-regex-how-to-use-the-couple-of-backtracking-control-verbs-skip-fail-or-skip-f-in-regexes</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/26812/generic-regex-how-to-use-the-couple-of-backtracking-control-verbs-skip-fail-or-skip-f-in-regexes</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Sat, 26 Apr 2025 11:34:19 GMT</pubDate></item><item><title><![CDATA[ASP.net syntax highlighting question]]></title><description><![CDATA[Should be fixed now, thanks for reporting!
]]></description><link>https://community.notepad-plus-plus.org/topic/26482/asp-net-syntax-highlighting-question</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/26482/asp-net-syntax-highlighting-question</guid><dc:creator><![CDATA[barisusakli]]></dc:creator><pubDate>Thu, 19 Dec 2024 20:18:24 GMT</pubDate></item><item><title><![CDATA[My First Taste Of HTML Code]]></title><description><![CDATA[moderator note: this post moved here, because it had nothing to do with this blog post
]]></description><link>https://community.notepad-plus-plus.org/topic/26008/my-first-taste-of-html-code</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/26008/my-first-taste-of-html-code</guid><dc:creator><![CDATA[Alex Martin]]></dc:creator><pubDate>Mon, 12 Aug 2024 12:52:03 GMT</pubDate></item><item><title><![CDATA[Warning: Spammers are getting better]]></title><description><![CDATA[In a humorous anecdote, I just rejected an AI spam post that titled itself (translated from the original language): “AI Super Student”.  If all AI bots would be kind enough to announce themselves as AI, that will make our jobs as moderators so much easier.  Thank you. ;-)
]]></description><link>https://community.notepad-plus-plus.org/topic/25792/warning-spammers-are-getting-better</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/25792/warning-spammers-are-getting-better</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 20 May 2024 02:10:20 GMT</pubDate></item><item><title><![CDATA[Poll: How Long Have You Used Notepad++?]]></title><description><![CDATA[Its been 5 years I’m using notepad ++ and for me it was and it is very useful tool.
]]></description><link>https://community.notepad-plus-plus.org/topic/25624/poll-how-long-have-you-used-notepad</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/25624/poll-how-long-have-you-used-notepad</guid><dc:creator><![CDATA[William4565]]></dc:creator><pubDate>Thu, 28 Mar 2024 13:23:47 GMT</pubDate></item><item><title><![CDATA[Comment on How do I create a Poll in the Forum?]]></title><description><![CDATA[@mkupper said in Comment on How do I create a Poll in the Forum?:

I don’t think polls would be useful in an environment where only one person’s vote matters

As a plugin author, I might consider using a poll to decide what features to add to a plugin, or how to implement a feature.
There are other ways to do this (raising a GitHub issue and instructing people to vote by responding to the original post with thumbs-up and thumbs-down emojis, for example), but there’s definitely something to be said for less hacky solutions like the polls this forum offers.
]]></description><link>https://community.notepad-plus-plus.org/topic/25621/comment-on-how-do-i-create-a-poll-in-the-forum</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/25621/comment-on-how-do-i-create-a-poll-in-the-forum</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Wed, 27 Mar 2024 23:33:58 GMT</pubDate></item><item><title><![CDATA[More Than Just A Text Editor...]]></title><link>https://community.notepad-plus-plus.org/topic/25471/more-than-just-a-text-editor</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/25471/more-than-just-a-text-editor</guid><pubDate>Mon, 12 Feb 2024 20:37:45 GMT</pubDate></item><item><title><![CDATA[Rugby World Cup]]></title><description><![CDATA[@Terry-R said in Rugby World Cup:

Using AI

Flipping coins should be better than using AI*. An AI’s output or results is a (hopefully) best case averaging and fitting of a prompt string with the existing blend of unknown data already stored in the AI. The AI stirs and regurgitates. Flipping coins is both understandable to the lay person, neutral, and can result in outcomes outside of an AI’s averaging and data fitting algorithms.
* Look into the precession affect when a coin is flipped. Tossed coins tend to land same side up! :-)
]]></description><link>https://community.notepad-plus-plus.org/topic/24899/rugby-world-cup</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/24899/rugby-world-cup</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Fri, 08 Sep 2023 22:33:42 GMT</pubDate></item><item><title><![CDATA[C++ STL naming and common sense]]></title><description><![CDATA[@Vitalii-Dovgan ,
You asked a rather opinion-based question (“why is X confusing” is completely in the eye of the beholder); as that’s not something that stackoverflow wants to cater to, they locked your post.  If had phrased it such that you were asking for the technical details on the history of those terms, without injecting your opinions or asking for their opinions, and without requiring that any answer “justify” someone else’s decisions, it might not have been locked.
And your question has nothing to do with Notepad++, so it’s even less on-topic here than it was there.  Hence, even though we appreciate your various contributions to Notepad++ and this Community, this specific topic is being locked here, as well.
]]></description><link>https://community.notepad-plus-plus.org/topic/24725/c-stl-naming-and-common-sense</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/24725/c-stl-naming-and-common-sense</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 20 Jul 2023 12:58:18 GMT</pubDate></item><item><title><![CDATA[PO files syntax color, where can I find it?]]></title><link>https://community.notepad-plus-plus.org/topic/24610/po-files-syntax-color-where-can-i-find-it</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/24610/po-files-syntax-color-where-can-i-find-it</guid><pubDate>Thu, 22 Jun 2023 07:57:05 GMT</pubDate></item><item><title><![CDATA[Which Movers Are best from California To Florida]]></title><description><![CDATA[@jhone-vick ,
Please keep any posts in the Notepad++ Community forum related to Notepad++.  Even in the “blogs” section, it’s supposed to be “blogs” by users of Notepad++ about using Notepad++.
Topic locked as OFF TOPIC.
]]></description><link>https://community.notepad-plus-plus.org/topic/24395/which-movers-are-best-from-california-to-florida</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/24395/which-movers-are-best-from-california-to-florida</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 20 Apr 2023 20:14:04 GMT</pubDate></item><item><title><![CDATA[SQL syntax color does not support double commenting]]></title><description><![CDATA[@Michael-Vincent said in SQL syntax color does not support double commenting:

PR was just added to master.  Looks like next version will have it, or you can test the artifact right now.

[image: 1678817673334-86dd6740-3ff4-499f-b740-0e710a2568e5-image.png]
Looks like it’s working …
NOTE: Customized theme in the screenshot.  The ‘stylers.model.xml’ has been updated for the default theme to include MS-SQL.
Cheers.
]]></description><link>https://community.notepad-plus-plus.org/topic/24223/sql-syntax-color-does-not-support-double-commenting</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/24223/sql-syntax-color-does-not-support-double-commenting</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 08 Mar 2023 07:50:46 GMT</pubDate></item><item><title><![CDATA[Artificial intelligence and programming]]></title><description><![CDATA[@xomx ,
Yeah, better that they use their tool to decribe the problem requirements, watch it give them what they ask for, and then have to hire human programmers at inflated costs, to fix the program the A.I. gave them with their specs.  The cost of not knowing what you really want, what you need, what can be done, and for changing your specs. :)
(Skynet doesn’t forgive, that’s why it programmed itself to remove the problem…incorrect analysis. :)  )
]]></description><link>https://community.notepad-plus-plus.org/topic/23903/artificial-intelligence-and-programming</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/23903/artificial-intelligence-and-programming</guid><dc:creator><![CDATA[Lycan Thrope]]></dc:creator><pubDate>Sun, 18 Dec 2022 13:21:01 GMT</pubDate></item><item><title><![CDATA[i need support to golang&#x27; language]]></title><description><![CDATA[@tutoriales-honestos asked again here, and I have redirected followon conversation to this original Topic.
The quick answer is still that you can use a UDL, as I said in 2022.
However, I had forgotten about this discussion, so I had started researching an answer to the ask-again Topic, and discovered that the SciTE testbed-editor will open Go/Golang (*.go) files and internally use the C++ lexer (LexCPP.cpp).  The cpp.properties includes definitions for Go.  So it can handle it.
I am going to point this out in the long-open ISSUE #8090 that Alan linked, because with that, there shouldn’t be much overhead to add it to Notepad++.  So if anyone pays attention to my reply there, it might be that it’s much easier to add that language than was originally thought.
]]></description><link>https://community.notepad-plus-plus.org/topic/23546/i-need-support-to-golang-language</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/23546/i-need-support-to-golang-language</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 30 Sep 2022 13:39:37 GMT</pubDate></item><item><title><![CDATA[Generic regex: Selecting a complete hierarchy between an opening HTML&#x2F;XML tag and its corresponding closing tag]]></title><description><![CDATA[@guy038 super answer, thanks
]]></description><link>https://community.notepad-plus-plus.org/topic/23029/generic-regex-selecting-a-complete-hierarchy-between-an-opening-html-xml-tag-and-its-corresponding-closing-tag</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/23029/generic-regex-selecting-a-complete-hierarchy-between-an-opening-html-xml-tag-and-its-corresponding-closing-tag</guid><dc:creator><![CDATA[Robin Cruise]]></dc:creator><pubDate>Tue, 24 May 2022 03:47:01 GMT</pubDate></item><item><title><![CDATA[Comparing issue]]></title><description><![CDATA[@manish-thukral ,
You need to make sure you have the right version of the Compare plugin for your version of Notepad++.  Check the Plugins Admin for updates on the plugin.  (Specifically, if you are at NPP v8.3 or newer, you must use Compare Plugin 2.0.2 or it will not work right.)
]]></description><link>https://community.notepad-plus-plus.org/topic/23013/comparing-issue</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/23013/comparing-issue</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 19 May 2022 14:40:30 GMT</pubDate></item><item><title><![CDATA[tài liệu quản lý dự án.]]></title><description><![CDATA[When Google Translate changes your post to English:

There are two project management models, waterfall and agile

This doesn’t seem to have anything to do with Notepad++.  Please keep posts in the Notepad++ Community related to Notepad++.
]]></description><link>https://community.notepad-plus-plus.org/topic/22842/tài-liệu-quản-lý-dự-án</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/22842/tài-liệu-quản-lý-dự-án</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 13 Apr 2022 05:00:09 GMT</pubDate></item><item><title><![CDATA[Generic Regex: Replacing in a specific zone of text]]></title><description><![CDATA[Two other examples regarding this generic regex ! In these ones, we’ll even restrict the replacements to each concerned zone before a # character !
Paste the text below in a new tab :
&lt;iden&gt;123456 (START)&lt;/iden&gt;
&lt;name&gt;Case_1&lt;/name&gt;
&lt;descrip&gt;This is a (short) text to (easily) see the results (of the modifications)# (12345) test (67890)&lt;/descrip&gt;
&lt;param&gt;val (250)&lt;/param&gt;

&lt;iden&gt;123456&lt;/iden&gt;
&lt;name&gt;Case_2&lt;/name&gt;
&lt;descrip&gt;And the (obvious) changes occur only in (the) "descrip" tag # Parentheses (Yeaah) OK&lt;/descrip&gt;
&lt;param&gt;val (500)&lt;/param&gt;

&lt;iden&gt;123456 (END)&lt;/iden&gt;
&lt;name&gt;Case_3&lt;/name&gt;
&lt;descrip&gt;All (the) other tags are (just) untouched #(This is) the end (of the test)&lt;/descrip&gt;
&lt;param&gt;val (999)&lt;/param&gt;

In this first example, of single-line &lt;descrip&gt; tags , two solutions are possible :


Use the complete generic regex (?-si:BSR|(?!\A)\G)(?s-i:(?!ESR).)*?\K(?-si:FR) where ESR = # which leads to the functional S/R :


SEARCH (?-s)(?-i:&lt;descrip&gt;|(?!\A)\G)((?!#).)*?\K(?:\x20\(.+?\))


REPLACE Leave EMPTY




=&gt; This time, in addition to only replace in each &lt;descrip&gt;..........&lt;/descrip&gt; zone, NO replacement will occur after the # character of each &lt;descrip&gt; tag !


Use the simplified solution and add a ESR condition at the end of the regex, giving this generic variant (?-s)(?-i:BSR|(?!\A)\G).*?\K(?-i:FR)(?=ESR)


SEARCH (?-s)(?-i:&lt;descrip&gt;|(?!\A)\G).*?\K(?:\x20\(.+?\))(?=.*#)


REPLACE Leave EMPTY




However, this other solution needs that all the &lt;descrip&gt; tags contains a comment zone with a # char

Now, paste this other text below in a new tab :
&lt;val&gt;37--001&lt;/val&gt;
&lt;text&gt;This-is
-a--very---&lt; # Dashes - - - OK/text&gt;
&lt;pos&gt;4-1234&lt;/pos&gt;

&lt;val&gt;37--002&lt;/val&gt;
&lt;text&gt;-small----#---example&lt;/text&gt;
&lt;pos&gt;9-0012&lt;/pos&gt;


&lt;val&gt;37--003&lt;/val&gt;
&lt;text&gt;-of-a-text-
which-&lt;/text&gt;
&lt;pos&gt;1-9999&lt;/pos&gt;


&lt;val&gt;37--004&lt;/val&gt;

&lt;text&gt;need
-to-be-
modi
fied # but - not - there&lt;/text&gt;

&lt;pos&gt;0-0000&lt;/pos&gt;

This second example is a multi-lines replacement, in each &lt;text&gt;.............&lt;/text&gt; zone only and also limited to the part before a # char which can be present or not
Of course, we’ll have to use the complete generic regex (?-si:BSR|(?!\A)\G)(?s-i:(?!ESR).)*?\K(?-si:FR) but, instead of a single (?!ESR), we’ll have to use this variant :
(?-si:BSR|(?!\A)\G)(?s-i:(?!ESR_1)(?!ESR_2).)*?\K(?-si:FR)
So, the functional regex S/R becomes :


SEARCH (?-si:&lt;text&gt;|(?!\A)\G)(?s-i:(?!&lt;/text&gt;)(?!#).)*?\K-+


REPLACE \x20


=&gt; ONLY IF a sequence of dashes is located in a &lt;text&gt;..........&lt;/text&gt; zone AND, moreover, before a possible # char, it will be replaced with a single space character
As you can verify, the third multi-lines &lt;text&gt;.............&lt;/text&gt; zone does not contain any # char. Thus, all dash characters, of that &lt;Text&gt; tag, are replaced with a single space char !

Remainder :


You must use, at least, the v7.9.1 N++ release, so that the \A assertion is correctly handled


Move to the very beginning of file, before any Find Next sequence or Replace All operation


Do not click on the step-by-step Replace button


]]></description><link>https://community.notepad-plus-plus.org/topic/22690/generic-regex-replacing-in-a-specific-zone-of-text</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/topic/22690/generic-regex-replacing-in-a-specific-zone-of-text</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 09 Mar 2022 00:18:34 GMT</pubDate></item></channel></rss>