Community
    • Login

    Show a list of same words before replacement

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    24 Posts 5 Posters 4.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Patrik SpacekP
      Patrik Spacek @Alan Kilborn
      last edited by

      @Alan-Kilborn that worked!

      what about the order from highest count?
      also, the text has numbers 000 connected to some words, is it possible to exclude them?

      7073dbfd-a357-445f-9946-fd41e1132ca5-image.png

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Patrik Spacek
        last edited by

        @Patrik-Spacek

        It appears you are running this against a file that truly isn’t text.
        That wasn’t in my original plans for it.
        I don’t know that I really want to support that (with changes) and all that it could mean.
        But of course you are free to figure out how to do it.

        I have concerns about a lot of things, but these lines in your output are especially concerning:

        =18
         =2
        "=1
        

        These should not occur (unless there is something “unseen” going on, because my search expression in the script requested that “word characters only” be searched for.

        1 Reply Last reply Reply Quote 0
        • Patrik SpacekP
          Patrik Spacek
          last edited by

          Thats fine, but somebody definitely should create a nice advanced addition to notepad++, its very useful.

          My friend already coded all I need (in 20mins) and works perfectly, its compiled separately, but works great. (not in python)

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @Patrik Spacek
            last edited by

            @Patrik-Spacek said in Show a list of same words before replacement:

            a nice advanced addition to notepad++

            Sounds like a job for a plugin.
            But just for that simple function, a little script serves well.
            But if a potential plugin added a bunch of analysis features, of which a histogram is just one…well, that would be valuable.

            My friend already coded all I need (in 20mins) and works perfectly, its compiled separately, but works great. (not in python)

            Sounds like overkill, but when one has to sponge off of a friend’s good will, you get what you get.

            1 Reply Last reply Reply Quote 0
            • Terry RT Terry R referenced this topic on
            • guy038G guy038 referenced this topic on
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors