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

Grep, Italicise words between curly brackets and remove the curly brackets

Community Beginner ,
Jan 04, 2023 Jan 04, 2023

New to GREP but I'm fairly sure it's the solution to my needs. I know this is an old thread, but I'm hoping someone will see it and can help with a similar issue and possibly share what the code would look like and how best to use it.

 

In my case, the text is one or more words in between braces. I need the words in between italicized and the braces removed.

 

Example: {Miracle on 34th Street} should change to Miracle on 34th Street

 

Any help would be so much appreciated! Thank you in advance.

[ branched from Grep, Italicise Quotes to InDesign forum by moderator ]

[ title added by moderator ]

TOPICS
How to , Performance
319
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 , Jan 05, 2023 Jan 05, 2023
Find what: \{(.+?)\}

Change to: $1

Change format: Italic (or a character style)

 

Translate
Community Expert ,
Jan 05, 2023 Jan 05, 2023
Find what: \{(.+?)\}

Change to: $1

Change format: Italic (or a character style)

 

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 ,
Jan 05, 2023 Jan 05, 2023

Thanks! I'll give this a try.

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 ,
Jan 05, 2023 Jan 05, 2023
LATEST

That worked perfectly! Thank you!

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