Copy link to clipboard
Copied
Hi,
I'm trying to find a GREP for Indesign that will put the last character of a name in superscript. I can't figure out how to look for the name but then only apply the superscript to the last character.
The name is always "Vanessa+" (for ex.) and the plus needs to be in superscript.
I've tried finding "plus/space" but there are also calculations in the text so that is not specific enough.
Anyone any ideas that can help?
Thanks
Vanessa
1 Correct answer
You can do this with a GREP Style. Create a paragraph style to apply to the paragraph and a character style for the superscript. In the paragraph style define the GREP style using a positive loosbehind as shown in the screenshot.
Copy link to clipboard
Copied
You can do this with a GREP Style. Create a paragraph style to apply to the paragraph and a character style for the superscript. In the paragraph style define the GREP style using a positive loosbehind as shown in the screenshot.
Copy link to clipboard
Copied
Arghh - I was sooo close! But you made it work - thank you!!
Copy link to clipboard
Copied
The name is always "Vanessa+" (for ex.) and the plus needs to be in superscript.
Is the name always Vanessa+ or is any first name followed by a +?
Copy link to clipboard
Copied
Either a GREP style or an nested paragraph style would solve this depends on the outcome you need.

