Participant
Oct 20, 2025 1:59 PM UTC
Answered
Grep query
- 5 replies
- 308 views
- Translate
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.
