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

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

Community Beginner ,
Feb 12, 2023 Feb 12, 2023

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
432
Translate
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.

Translate
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.

Translate
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
LATEST

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

Translate
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