Participant
October 20, 2025
Answered
Grep query
- October 20, 2025
- 1 reply
- 281 views
Hello. I apologize for my English im from Russia! I wanted to ask how I can write a regular expression in InDesign that will find values like 14th and change the th to superscript mode.
I did
Find
(\d+)(th)
Replace to
$1–$2
and I added a superscript at the bottom, but it didn't work. The number itself changed, but I only needed to change the letters.
