• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Skipping words with GREP

Participant ,
Jun 14, 2017 Jun 14, 2017

Copy link to clipboard

Copied

Hello Community,

I am working on a document where i am using  GREP styles. My GREP expressions highlight anything that I do not want to italicize in red (for visual reference). However, they are including any words that have "spl" in it as seen in screenshot below. I only want the single word "spl" or "spl." to be highlighted and others that I have specified. How can I make the GREP expressions skip any words that have "spl" in them? Thank you for any assistance.

Screen Shot 2017-06-14 at 2.16.04 PM.png

Views

259

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

Mentor , Jun 14, 2017 Jun 14, 2017

This will find spl and spl.

\bspl\b\.?

This wonā€™t bother about case, so positives are:

spl, spl., Spl, Spl., SPL, SPL. etc.

(?i)\bspl\b(?-i)\.?

Votes

Translate

Translate
Mentor ,
Jun 14, 2017 Jun 14, 2017

Copy link to clipboard

Copied

LATEST

This will find spl and spl.

\bspl\b\.?

This wonā€™t bother about case, so positives are:

spl, spl., Spl, Spl., SPL, SPL. etc.

(?i)\bspl\b(?-i)\.?

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