Copy link to clipboard
Copied
Hello,
From the Find/Change window and in the GREP tab, I would like to be able to search for 1st and replace with 1st. In fact I'd like to put in exposing the st but not the 1.
I hope you understood me
Thank you in advance for your help,
Guig
You could even use a grep style to apply superscript to all ordinals:
(?<=\d)(st|nd|rd|th)\b
Copy link to clipboard
Copied
grep find:
1\Kst
change
format superscript
Copy link to clipboard
Copied
You could even use a grep style to apply superscript to all ordinals:
(?<=\d)(st|nd|rd|th)\b
Copy link to clipboard
Copied
Did either of these solutions work for you? It's helpful to hear back if the solution worked (or not). I can't speak for others, but I know that GREP is something that takes me a while to craft (though I enjoy it), so it's helpful if we get feedback as to whether it solved your problem.
Copy link to clipboard
Copied
Of course the 2 codes work! [CS6 and + for the first]
Everybody understood Vincent's code is more global because it includes 2nd, 3rd, 4th, 5th …
Best,
Michel, for FRIdNGE
Find more inspiration, events, and resources on the new Adobe Community
Explore Now