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

Help with GREP

New Here ,
Mar 15, 2022 Mar 15, 2022

Copy link to clipboard

Copied

I am searching the document for the word See that comes before small caps and I want to change from regular font to italic.

Find what:

See \u

I want to change only the word See to italics but it is also changing the first letter that is in small caps. 

 

How do I stop it at the end of the word See so that it does not also change the first letter of the next word?

 

Thank you.

TOPICS
How to

Views

149

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 , Mar 15, 2022 Mar 15, 2022

change your find to make use of a postive lookahead:

See (?=\u)

 

Votes

Translate

Translate
Community Expert ,
Mar 15, 2022 Mar 15, 2022

Copy link to clipboard

Copied

change your find to make use of a postive lookahead:

See (?=\u)

 

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
New Here ,
Mar 15, 2022 Mar 15, 2022

Copy link to clipboard

Copied

Thank you.

One more question, please? Only one, I promise.

Searching for:

See also (and text that follows until end of sentence.)

Change to:

See also (bold italics) and text that follows until end of sentence. (bold) 

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 Expert ,
Mar 15, 2022 Mar 15, 2022

Copy link to clipboard

Copied

LATEST

For this one, I would create a paragraph style that utilized a nested style to add the italics to the See also

That way, you could search for See also, and apply the paragraph style to create all the formatting in one go.

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