Community
    • Login

    Type of duplicate lines

    Scheduled Pinned Locked Moved General Discussion
    25 Posts 5 Posters 4.9k 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.
    • Alan KilbornA
      Alan Kilborn @Terry R
      last edited by

      @Terry-R said in Type of duplicate lines:

      …results have more to do with the number of cores…

      My 2 cents on this (and it could be worth much less) is that “throwing more hardware cores” at a problem does nothing for it unless software is written to utilize that hardware.

      Do we know that the regex engine used can “divide and conquer” this type of problem, by assigning pieces to multiple cores to work on, and then stitching together the results?

      …GHz speed…

      Well, yea, raw speed is going to have an impact, for sure.

      everything is “more speed/horsepower”

      Yes to the former, perhaps to the latter. :-)

      1 Reply Last reply Reply Quote 3
      • Sarah DuongS
        Sarah Duong
        last edited by Sarah Duong

        I want an example for you to understand:

        a_cameronsse@hotmail.com:jof6IutH
        aipunts@yahoo.co.uk:pul8OBa4
        :
        :
        abc:bcs:32da
        :
        a:
        :a
        orowski@o2.pl:sXOa6
        :
        onsse@hotmail.com:jof6
        :
        ,:
        a.tworowski@o2.pl:sXOa61Dq
        

        Now I want to get the results:

        a_cameronsse@hotmail.com: jof6IutH
        aipunts@yahoo.co.uk: pul8OBa4
        abc: bcs: 32da
        a:
        :a
        orowski@o2.pl:sXOa6
        onsse@hotmail.com:jof6
        ,:
        a.tworowski@o2.pl:sXOa61Dq
        

        What do I have to do to get that result? I cannot use expressions instead:

         Find = : 
        Replace with = 
        

        That is the content of my question 3. Currently I have the answer: That is to use the expression:
        Find = ^ :
        Replace with = leave blank
        I have searched every corner of the forum to find this simple answer. Also because the language barrier makes it difficult for me
        I really want to convey my ideas to you. Unfortunately, Google translates incorrectly. Causing misunderstandings, or sometimes causing conflicts. Hope you understand me. Sincere thanks all for your interest in my topic

        Sarah DuongS 1 Reply Last reply Reply Quote 0
        • Sarah DuongS
          Sarah Duong @Sarah Duong
          last edited by Sarah Duong

          @Sarah-Duong

          Find = ^\:
          Replace with : Leave blank
          

          I couldn’t type the punctuation so the sentence I wrote was missing.

          astrosofistaA 1 Reply Last reply Reply Quote 0
          • astrosofistaA
            astrosofista @Sarah Duong
            last edited by

            Hi @Sarah-Duong, All:

            If you only need to delete lines with just a colon (“:”), a simple regex like ^:\R in the find box will do it, and of course leave the replace box empty.

            Sarah DuongS 1 Reply Last reply Reply Quote 4
            • Sarah DuongS
              Sarah Duong @astrosofista
              last edited by

              @astrosofista Yes, that is exactly what I need. It seems that there are some symbols I cannot write . It replaces the color or does not display when accompanied by another symbol.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors