Skip to main content
Known Participant
Feb 3, 2026 10:08 PM UTC
Answered

GREP style to shrink the "C" in "McXXXX" last name

Title.  I’m designing business cards where the names are in all caps, however I’d like to have a GREP style that, for example, searches the name “MCDONALD” and shrinks just the C.  Is that possible?

    Jeffrey_SmithCorrect answer
    Community Expert
    Feb 3, 2026 11:13 PM UTC

    Create the character style for the letter “c” with desired attributes. Create a paragraph style using a GREP style. In the “To Text” field, use the following GREP (?<=M)c and apply the character style for the “c”

    5 replies

    FRIdNGE
    Feb 4, 2026 9:32 AM UTC

    Create a char style with just the “lowercase” option and create a Grep style applying this char style to the following Grep expression “M\KC”.

     

    (^/)  The Jedi

    Translate
    Jeffrey_SmithCommunity ExpertCorrect answer
    Community Expert
    Feb 3, 2026 11:13 PM UTC

    Create the character style for the letter “c” with desired attributes. Create a paragraph style using a GREP style. In the “To Text” field, use the following GREP (?<=M)c and apply the character style for the “c”

    Translate
    Known Participant
    Feb 4, 2026 1:51 PM UTC

    This solved it, thank you!

    Translate
    FRIdNGE
    Feb 4, 2026 3:10 PM UTC

    OK. That means you defined a para style in All Caps!

     

    (^/)

    Translate