Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    how to insert incrementing numbers in specific kind of lines in notepad ++?

    Help wanted · · · – – – · · ·
    2
    4
    953
    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.
    • Mutahar Jy
      Mutahar Jy last edited by

      how to insert incrementing numbers in specific kind of lines in notepad ++?
      not all lines
      in notepad++ I can add numbers to all lines but I only want it for specific kind of lines that are not close to each other
      there are another lines between them that I don’t want to insert numbers for them
      please help

      Scott Sumner 1 Reply Last reply Reply Quote 0
      • Scott Sumner
        Scott Sumner @Mutahar Jy last edited by

        @Mutahar-Jy

        Hmmmmm…forget Notepad++ for this…and learn to program?

        1 Reply Last reply Reply Quote 0
        • Mutahar Jy
          Mutahar Jy last edited by

          to program what?
          I have work with some codes and I need this function
          I need to add numbers to specific kind of words
          for example
          TAG POS=5 TYPE=BUTTON ATTR=TXT:Follow
          TAG POS=x TYPE=BUTTON ATTR=TXT:Get<SP>Started
          TAG POS=5 TYPE=BUTTON ATTR=TXT:Follow
          I want it to add numbers only to “5” or replace “5” or any value with increased numbers like this
          TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
          TAG POS=x TYPE=BUTTON ATTR=TXT:Get<SP>Started
          TAG POS=2 TYPE=BUTTON ATTR=TXT:Follow

          Scott Sumner 1 Reply Last reply Reply Quote 0
          • Scott Sumner
            Scott Sumner @Mutahar Jy last edited by

            @Mutahar-Jy

            Pointed you to the answer in the nearly identical thread you started…

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors