Announcement

Collapse
No announcement yet.

I'm looking for a text search & replace util...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I'm looking for a text search & replace util...

    I should note that I've somewhat scoured the net in search of something like what I'm about to describe, to no avail.

    The program I have in mind will need to have the ability to search for wildcards (several utils do this), and perform a sort of incremented replace...for example, in a text file containing

    0000000A
    Heheheh
    0000000F
    0000000H
    8887791
    00000004

    ...If I performed a Search and Replace for 0000000? (with wildcards enabled, "?" would act as a single character wildcard, as it does in several other programs), and gave 0000000[0&1] ("[0&1]" being an example of syntax for "start at 0, increment by 1 each time the searched-for string is encountered", perhaps), the program would yield the result

    00000000
    Heheheh
    00000001
    00000002
    8887791
    00000003

    I realize this is a somewhat complex concept, but I'd be surprised if such a program hadn't been made already.

    Anyone have an idea if there's something around like this?
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...
Working...
X