Does anyone know how to change a digit at the end of a word can be changed to a superscript digit? I want to change the '4' in lesson4 into a superscript. But I don't know how to put the Grep line in the 'body' paragraph (which have a lot of lesson4's in them...)
Could anyone shine some light on this for me, so I can master the whole Grep thing bit by bit? How can I find and change the 4, right after the n, and not every 4 in the entire text?
Many thanks in advance!
There's a lot of possible solutions.
This will find exactly what you asked for, the '4' in lesson4:
this - any two digits at the end of 'lesson':
this (from CS6 and later) - any one digit right after the words that end with 'n':
and so on...