Hi.
I want to replace the string “on page NN” with the string “Above/Below” where
NN is the page number of a heading or figure reference and “Above/below” is the Above/below of the same reference.
Example:
In my text I have
See “Using styles” on page 23.
and I want
See “Using styles” below.
I don’t know how a regexp can detect a field reference.