List frequency of duplicates



  • Thank You very much. Do you know if there is any way to count the no. of times a phrase was duplicated. For eg. The list below automatically get a count without inputting a phrase to look for. Please note that a username appears in front of the phrase which I would not like to carry over.

    BELL TWIN DUO CORDLESS PHONES- AIR-02 2HANDSETS *2
    History Of Manchester United DVD *2

    NEWInstant Water Heater Shower Head
    Comment:great er!!! no hassles!!!
    rated on 07 Jun 2016
    stanton261 BELL TWIN DUO CORDLESS PHONES- AIR-02 2HANDSETS
    Comment:great er!!! no hassles!!!
    rated on 07 Jun 2016
    Rarebit314 Kenwood Prospero Chef Kitchen 900W Mixer + ATTACHMENTS
    Comment:great er!!! no hassles!!!
    rated on 07 Jun 2016
    Yvie240182 Manchester United - The Official History 1878 - 2008: 2 DVD Set
    Comment:great er!!! no hassles!!!
    rated on 07 Jun 2016
    ubombo57 History Of Manchester United DVD
    Comment:great er!!! no hassles!!!
    rated on 07 Jun 2016
    sanjayramroop4 History Of Manchester United DVD
    Comment:great er!!! no hassles!!!
    rated on 07 Jun 2016
    TonyS129 BELL TWIN DUO CORDLESS PHONES- AIR-02 2HANDSETS
    Comment:great er!!! no hassles!!!
    rated on 07 Jun 2016



  • @Muhammad-Khan

    Danger…warning…GETTING OFF-TOPIC…let’s get back to talking about Notepad++…



  • @Scott-Sumner This is about using notepad++ how am i getting off topic



  • @Muhammad-Khan

    I don’t see anything about Notepad++ in this entire thread. What I see are data-content manipulations that don’t involve Notepad++. @PeterJones provided you a non-Notepad++ solution (Perl-based). If you want to extend/change that, then super, but please take that to somewhere else (e.g. a Perl help site), because here we talk about Notepad++.

    @PeterJones said it well: Notepad++ is a great tool, but some things are easier to solve with another tool. And the problem is, we don’t get into in-depth conversations here about other tools.

    If you still don’t see why this thread isn’t Notepad++ related, please have a look at “baking cookies” in this FAQ.



  • @Scott-Sumner I asked for a solution. I can’t control the responses of others. So review your own statements before you put nonsense up. And don’t talk here if you’re not providing a solution you’re just wasting my time and extending this thread for no reason.



  • @Muhammad-Khan

    I can’t control the responses of others.

    Note that I am not negative about @PeterJones 's response at all. If you like what he proposed, run with it. But since it isn’t about Notepad++, take further discussion about it elsewhere if you need to. Ideally, you should spend some time learning about the solution provided if it is an unfamiliar technology to you, so that you can solve your own problems, such as extending it to do something different.

    Do you know if there is any way to count the no. of times a phrase was duplicated

    In the event that this question is back to Notepad++ and isn’t related to the @PeterJones Perl solution to the first thing you asked (I really have no idea), then you should have created a new discussion thread for this. However, let’s assume that it is a question about Notepad++, which will be gladly answered here.

    You can certainly count the number of times a phrase is duplicated. In the Find window there is a Count button which will provide this functionality. Put your search phrase in the Find what zone and press the Count button and the number of occurrences that match will appear in the Find window’s status bar. In your case I guess the Find what would be HANDSETS.



  • It’s still an open question I’m not further discussing it so don’t say warning getting off topic. And read the thread carefully I said without inputting a statement.



  • @Muhammad-Khan said:

    I’m not further discussing it

    Why not, if you think it is something Notepad++ might be able to do? Your choice, though, but I think you may have developed an “attitude” that will preclude further discussion.

    And read the thread carefully

    Well, we try to but often we get posters here who aren’t that great at expressing their needs in English. So we try to make our best interpretation; sometimes things are missed/misinterpreted.

    without inputting a statement

    Well, you have to be a bit more precise about what you want. Without “inputting a statement”, do you want Notepad++ to read your mind about what you want to search for? Or is it supposed to search for every possible combination of characters or words or string of words that appear elsewhere in your document? We are definitely willing to assist with the things that Notepad++ can do for you, if you make that need clear.



  • You’re an absolute fucking retard



  • @Muhammad-Khan

    You’re an absolute f***ing retard

    Maybe…but if so it doesn’t make sense that I have far more “reputation points” on this site than anyone else. Hmmmm…


Log in to reply