Navigation

    Community

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

    How to add an incremenetal number increase but not on every line

    Help wanted · · · – – – · · ·
    3
    4
    43
    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.
    • reddit mod
      reddit mod last edited by

      I am trying to make each of the 99’s in the photo below a number that will increase incrementally. I tried to use the column editor but it just add them to every single line when I only want it to be where the 99’s are. Does anyone know how I can do this?

      example.PNG

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones @reddit mod last edited by

        @reddit-mod ,

        If you’re willing to use a plugin, install python script, and search the forum for add_1

        If not, sorry, built-in search/replace cannot count or do math

        reddit mod 1 Reply Last reply Reply Quote 0
        • reddit mod
          reddit mod @PeterJones last edited by

          @peterjones Thanks for your response. Would you be able to tell me how to install it? I am pretty new to notepad++

          Neil Schipper 1 Reply Last reply Reply Quote 0
          • Neil Schipper
            Neil Schipper @reddit mod last edited by

            @reddit-mod

            Instructions and sample usage (for a slightly different problem) here.

            If the data you’ve shown is truly the data you’re working with, you can achieve what you want with much simpler techniques. You could start with an empty file, insert a column with ascending numbers, then, either using a macro or a regex F&R, add in the rest of the (multiline) fixed text at the end of each line.

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