Skip to main content
Participant
February 3, 2026
Answered

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

  • February 3, 2026
  • 2 replies
  • 95 views

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?

    Correct answer Jeffrey_Smith

    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”

    2 replies

    FRIdNGE
    February 4, 2026

    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

    Jeffrey_SmithCommunity ExpertCorrect answer
    Community Expert
    February 3, 2026

    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”

    Participant
    February 4, 2026

    This solved it, thank you!

    FRIdNGE
    February 4, 2026

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

     

    (^/)