• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit Search
0

InDesign GREP Question: Adding Characters Before All Instances of a Word

Community Beginner ,
Feb 12, 2023 Feb 12, 2023

Copy link to clipboard

Copied

I want to add the letter "k" before every instance of my heading 4 style.

I've gone into find/replace and GREP, specified all instances of that character style, and tried to come up with something.

I got as far as something like "(.+?)" or maybe "\w" to search for any word.

Not really sure how to do the replace. Maybe like... "k\w"  or "k$" but they aren't working.

Any ideas?

TOPICS
How to , Import and export , Type

Views

64

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 12, 2023 Feb 12, 2023

Find what: ^

Change to: k

Find format: The H4 style

 

^ matches the first insertion point of all headings 4 and inserts k.

Votes

Translate

Translate
Community Expert ,
Feb 12, 2023 Feb 12, 2023

Copy link to clipboard

Copied

Find what: ^

Change to: k

Find format: The H4 style

 

^ matches the first insertion point of all headings 4 and inserts k.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 12, 2023 Feb 12, 2023

Copy link to clipboard

Copied

LATEST

You are a lifesaver. I had to do that for like 500+ instances. Thank you so much! ❤️

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines