Copy link to clipboard
I need to run a search&replace script in the following example text, do some GREP stuff and replace the x within the brackets with a line number (iterations):
and want to obtain this:
Is that possible at all? Can GREP count or output i (iteration)?
Thanks for your ideas,
Found a solution:
I've set up an enumeration paragraph format. It's an additional single step but that works just fine for me.
Thx everyone for your kind help.
I don't think so. What is the logic to obtain the values 1,2,3 etc? Probably you would need a script instead of just a Grep expression.