Community
    • Login

    How I find two strings and concatenate them?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 293 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.
    • Henrique SatoH
      Henrique Sato
      last edited by

      I would like to concatenate each string ENTRY, with a string LIST,XXXX. I have several files where the XXXX always change… Someone can help me for this problem?

      List is as show:

      ENTRY,1,20Y-810-1161,Elbow,1,0,
      FIELD,SERIALNO,B10001-
      ENTRY,2,22U-979-1930,Nipple,1,1,
      FIELD,SERIALNO,B10001-
      ENTRY,3,20Y-01-56280,Joint,1,2,
      FIELD,SERIALNO,B10001-
      ENTRY,4,07002-11823,O-ring,1,3,
      FIELD,SERIALNO,B10001-
      ENTRY,5,07005-03016,“Seal, Washer”,1,4,
      FIELD,SERIALNO,B10001-
      ENTRY,6,22U-62-53960,Plug,1,5,
      FIELD,SERIALNO,B10001-
      LIST,A9999-001002,B00902,“Damper, (2/2)”,1,
      PICTURE,1,JH101679,0,32767,32767,

      I need as show:

      ENTRY,1,20Y-810-1161,Elbow,1,0,
      FIELD,SERIALNO,B10001-
      ENTRY,2,22U-979-1930,Nipple,1,1,LIST,A9999-001002,B00902,
      FIELD,SERIALNO,B10001-
      ENTRY,3,20Y-01-56280,Joint,1,2,LIST,A9999-001002,B00902,
      FIELD,SERIALNO,B10001-
      ENTRY,4,07002-11823,O-ring,1,3,LIST,A9999-001002,B00902,
      FIELD,SERIALNO,B10001-
      ENTRY,5,07005-03016,“Seal, Washer”,1,4,LIST,A9999-001002,B00902,
      FIELD,SERIALNO,B10001-
      ENTRY,6,22U-62-53960,Plug,1,5,LIST,A9999-001002,B00902,
      FIELD,SERIALNO,B10001-
      LIST,A9999-001002,B00902,“Damper, (2/2)”,1,
      PICTURE,1,JH101679,0,32767,32767,

      Best Regards,

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • dinkumoilD
        dinkumoil
        last edited by

        Because the requirement of moderation of postings created by new members is still activated, this posting was lost in the Post Queue for 3 days. This comment is only for bumping it up in the list of recent postings.

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA
          Alan Kilborn @Henrique Sato
          last edited by

          @Henrique-Sato

          Why doesn’t your very first line get modified in your “I need” section?

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