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

Help to determine correct GREP formula to style multiple quotes within a paragraph

New Here ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

Can anyone please teach/give me the correct GREP formula for converting any text between typographer's
double quote marks (left and right) to a QUOTE character style and anything outside the quotes to be in the para style.
Important: A single paragraph might have several quotes with plain text in between each one.
i.e. "Quote charater style" Body paragraph style "Quote character style" Body paragraph style "Quote character style"
THANKS!
TOPICS
How to , Scripting

Views

122
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 Expert ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

It might work with nested styles.

 

None - up to - typographer quote (you can copy and paste the left quote )

Char Style - up to - right quote

 

And then you set a repeat.

 

Once you bild the sequence it should work.

 

 

But.... Can you provide examples as it's always best, who knows, maybe GREP style might suit.

 

But I do think from your description a nested style would work.

Votes

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 Expert ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

LATEST

Hi @Susie Curry, here an example of using a grep style to do what you ask. See attached demo document.

The grep I used is:

“[^”]+”

- Mark 

Votes

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