Martin,
(Pardon my English.) This is one of many instances where InDesign can't search and replace strings based on partial formatting. The way out is to make formatting visible in a literal sense, in your case wrapping single superscripted digits in text codes, so that you get things like 1984<sup>5</sup>. Strings like these can be changed to <sup>5</sup>1984 using Grep; next you replace the <sup>...</sup> with InDesign's superscript codes. Finally, you delete the <sup> and </sup> strings. It looks convoluted, but is in fact very quick when you script it. I use it all the time for messing about with italics, bold, superscript, etc.
Regards,
Peter
als Antwort auf: [#349570]