Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • guy038G

      Word frequency list

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      2
      0 Votes
      2 Posts
      230 Views
      guy038G
      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 & 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 <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="(?x-i) \u+" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="\L$0" /> <Action type="3" message="1702" wParam="0" lParam="640" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> Right before the sort line : <Action type="2" message="0" wParam="42059" lParam="0" sParam="" /> Here is the trick to get the right number of occurrences when > 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
    • CJBlake1C

      Cannot open xml files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      335 Views
      PeterJonesP
      @CJBlake1 , Rereading my original response, that came out harsher than I intended. I got interrupted with real life, and had decided to post as-is, before I had a chance to audit my post, so it was too “raw”. What I was really trying to say: I don’t think the specific version of Edge is really relevant to your issue. I am assuming that you used to have XML associated with Notepad++, and then suddenly it wasn’t anymore. Unfortunately, many applications (Edge included) have programmers who think that there software is the only one that matters, and that they should “take back” their favorite filetypes (like XML), regardless of decisions a user has already made. So I’m assuming that some recent update in either Edge itself, or in Windows in general, caused Windows to change (or reset) the default application for the XML filetype. There is nothing that Notepad++ can do to prevent the OS or an overeager application from hijacking the filetype. The best thing you can do in a situation like this is to use the OS tools to re-associate the filetype with the program you want. In Windows 11, the most reliable method for doing that seems to be using the Open With from the right-click menu: right click on an XML file, choose Open With, select Notepad++, and be sure to say, “always use this app from now on”.
    • submitificS

      HOW Do You Add Keyboard Shortcuts

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      13
      0 Votes
      13 Posts
      5k Views
      PeterJonesP
      @Italian-menu , Why in the world would you think your post helpful? “depending on what you’re using” – of course they are using Notepad++. This is a Notepad++ forum. If you cannot give a human-created Notepad++ -specific answer, don’t bother posting.
    • guy038G

      Generic Regex : How to use the couple of "Backtracking Control" verbs (*SKIP)(*FAIL) or (*SKIP)(*F) in regexes

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      7
      4 Votes
      7 Posts
      3k Views
      dr ramaanandD
      @guy038 This method can be used to skip a string and replace part of a shorter, similar string, even when it precedes the long string. So, if the input text is:- abc abcdefghijklmnopqrstuvwxyz We can get an output like this:- ABC abcdefghijklmnopqrstuvwxyz by using this in the Find and Replace fields respectively with the “matches newline” box unticked (unchecked): FIND (?-s)abc.*xyz(*SKIP)(*F)|abc REPLACE \U$0 I am posting this here for the benefit of people who land on this page after searching online for something similar Explanation: Using $0 in the replace field is for replacing everything that is found while searching, which in this case is abc but due to the \U preceding the $0, it is replaced with the same in uppercase as ABC.
    • Lance MarchettiL

      A Workaround for 0xFF and NUL bytes to Hex

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      1
      0 Votes
      1 Posts
      60 Views
      No one has replied
    • Scott NielsonS

      How do I find some text but skip some other slightly different text?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      23
      0 Votes
      23 Posts
      4k Views
      dr ramaanandD
      @Scott-Nielson @guy038 has given a good explanation of the (*SKIP)(*FAIL) method at 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/5 - in fact I recommend everyone who lands on this page after searching online, to read that explanation and understand it!
    • h-jangraH

      NppVim 1.14.0.0 Release : Added nppvim.rc support

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1 Votes
      1 Posts
      71 Views
      No one has replied
    • PeterJonesP

      Announcing Perl-based automation of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development perl automation
      17
      6 Votes
      17 Posts
      6k Views
      PeterJonesP
      v0.012 released to CPAN Update for Notpead++ v8.5.4 - v8.9.6.4 Update Editor messages and enumerations (hashes) Update Notepad++ menu commands and messages Remove notepad->prompt() and the Win32::GUI dependency [#91] Please comment on Issue #92 if this call is important to you <https://github.com/pryrt/Win32-Mechanize-NotepadPlusPlus/issues/92> Improve test suite Get it working through Perl v5.42 Don’t test as many old versions (too much compute overhead) See CHANGES file for full history, including interveninng v0.009, v0.010, and v0.011 I don’t always post about new versions here (mostly because I get distracted and forget to). But I thought it was important on this one, because notepad->prompt() has been disabled in this version: if notepad->prompt() is important to you, please comment on https://github.com/pryrt/Win32-Mechanize-NotepadPlusPlus/issues/92 and stick with v0.011, which (until further notice) is the most recent version to include the notepad->prompt()
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      78
      3 Votes
      78 Posts
      66k Views
      Thomas KnoefelT
      MultiReplace 6.0 is out and will land in Plugin Admin with the next Notepad++ release. The focus of this release is a second formula engine: ExprTk now sits alongside Lua for math, string and conditional replacements, joined by multi-list tabs, tandem mode, and a series of UI and workflow improvements. Several new options live under Plugins > MultiReplace > Settings. Download: Latest build Key Features & Improvements New Formula Engine (ExprTk): A second engine alongside Lua for math, string and conditional replacements. Its standout is the built-in output formatter - a single declarative spec that turns any result into fixed decimals, hex/binary, padded and aligned fields, time durations or formatted dates, applied right where the value is produced. Switch per tab via the (L) / (E) indicator next to Formula Support. The ExprTk integration - the (?=...) marker and the formula functions for reading captures and earlier results - follows the approach pioneered by @Coises in Columns++. Full syntax and examples are in the ExprTk formula reference. List Tabs: Keep different replacement sets available across tabs. State is fully separate per tab. Tandem Mode: MR panel snaps to the Notepad++ window edge and follows it around. Toggle via the plugin menu. Reopen on Startup: Reopens MR automatically if it was open when you closed Notepad++. Opt-in via the plugin menu. Compact Toolbar: New top toolbar layout - more horizontal space for the list. Always Visible List: Keeps the list visible instead of collapsing when you toggle it off. Requires “Keep list always visible” enabled in Settings. Bookmark Matches: Sets a Notepad++ bookmark on every match line. Toggle via the new checkbox next to Mark Matches. Column Reorder & Lock: Drag column headers to rearrange. Right-click for “Lock column width” or “Reset Column Order”. Modified Timestamp Column: Optional column tracking the last edit per entry. A dirty-flag stripe on the left edge marks unsaved changes. Excel-Compatible CSV: Lists save in the standard CSV dialect used by spreadsheets - opens cleanly in Excel, edit there, load back without conversion. Keyboard Shortcuts Ctrl+Up/Down: Move selected rows up or down (auto-repeat) Ctrl+L: Toggle list visibility from anywhere in the panel Alt+Up/Down: Round-trip between input fields and a selected row Ctrl+Shift + button click: Run from the input fields while the list stays open Ctrl+Shift+H: Pull selected editor text into Find what (optionally auto-escaped for Regex/Extended mode) [image: 1780756837071-multireplace6.png] Issues or suggestions: GitHub. Happy replacing!
    • isaacjuanI

      [New Plugin] AI Chat — chat with LLMs directly inside Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1 Votes
      1 Posts
      220 Views
      No one has replied
    • PeterJonesP

      Warning: Spammers are getting better

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      11
      5 Votes
      11 Posts
      9k Views
      PeterJonesP
      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. ;-)
    • guy038G

      New displaying of the "Search Results" panel

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1
      0 Votes
      2 Posts
      286 Views
      guy038G
      Hi, All, From the @pellelin’s post, here is an improvement of my previous post : I now added the complete path of each file , followed with a \ character and the file name ! Once any Search Results panel is displayed : Hit the Ctrl + A shortcut Hit the Ctrl + C shortcut Open a new tab ( Ctrl + N ) Paste the Search Results contents in this new tab ( Ctrl + V ) Run the option Edit > Line operations > Reverse line order ( IMPORTANT ) Now, open the Replace dialog ( Ctrl + H ) Uncheck all box options FIND (?-si)^\tLine\x20+(\d+)(?=(?s:.+?)^\x20\x20(\u:.*\\.+)(?=\x20\())|^\x20\x20\u.+\R REPLACE ?2\2\t\1\t Check the Wrap around option Select the Regular expression search mode Click on the Replace All button Now, re-run the Edit > Line operations > Reverse line order option ( IMPORTANT ) Finally, save this new tab for future study within N++ or Excel ! Now, @pellelin, if you don’t have already the Columns++ plugin installed in your configuration, I kindly advice you to install it ! After installation of this plugin, close and re-open Notepad++ First, run the Plugins > Columns++ > Elastic tabstops option Then run the Plugins > Columns++ > Convert tabs to spaces option Now, in order to right-aligned the line numbers, do the following regex replacement : FIND (\d+)(\x20*)(?=\x20:\x20) REPLACE \2\1 With the same parameters, in the Replace dialog, than above ! For example, I did a search of the word the, whatever its case, in Normal mode, on any .txt file of an USB key Search "the" (77312 hits in 507 files of 590 searched) [Normal] I got an INPUT file of 51,5544 lines for about 10,2 Mb And, after the above process : Reverse line order Regex Replacement Reverse line order Which took 82s, I got an OUTPUT file of 51,047 lines, for about 12,2 Mb, with Complete file path, Line number and Text, all aligned [image: 1780319031552-b25954ec-283c-4b15-9603-bf0d370d3c2d-image.jpeg] Best Regards, guy038 P.S. : In this version, I didn’t report the number of hits. If this information matters too, just ask me about it !
    • Pull_it_allP

      [New Plugin]Instantaneous Dark/Light theme switch (+automatic switch mode)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      1 Votes
      3 Posts
      461 Views
      Pull_it_allP
      @Abdellah-Hss Hello thanks for this input, I thought I had to provide all system versions in order to be accepted to admin plugin list. Today I’ve added ARM64 version and will fork the admin list to update it asap. Thanks for the feedback I actually didn’t know the way to publish it via official channel. Hopefully once I get through with this process it will make the list and be easier accesible. Edit I’ve just added the plugin to official list on x86, x64 and ARM64. Till the next update you can only install it via dll or bat installer I provided on github.
    • donhoD

      Notepad++ release 8.9.6.2

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      2 Votes
      1 Posts
      2k Views
      No one has replied
    • donhoD

      Notepad++ release 8.9.6

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      2
      3 Votes
      2 Posts
      3k Views
      PeterJonesP
      @donho , https://community.notepad-plus-plus.org/topic/27545/inability-to-save-file-to-onedrive-with-8.9.6-version-of-notepad indicates that there might be a regression with the ability to save to OneDrive…