Replace each find match instance with an increasing value
I have a text with a lot of reference notes. The original text simply has asterisks(*) to indicate the presence of a note, but I need to change these to serial letter values like footnote references (a, b, c, etc.)
Is there a way to select all the text on the page, find all asterisks, and replace them in a serial sequence? So the first instance gets replaced with a, the second with b, the third with c, and so on? If not with letters, I could use number values instead, and then do a second round of replacing 1 with a, 2 with b, 3 with c, etc.
I tried using the find/replace list script, but I can't figure out how to do this in sequence. Any suggestions would be appreciated!
Note: I'm not using the inbuilt footnotes feature for a variety of reasons, so that's not an option.
