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

Grep that can target any letter before a period (Full stop)

Explorer ,
Oct 11, 2018 Oct 11, 2018

Copy link to clipboard

Copied

Hi,

I'm just trying to find a grep that can add a character style to ANY LETTER that is before a PERIOD (FULL STOP). I'll attach an image with the letters in RED. They are all in one sentence too...with no returns. Is this possible?

Thanks for any help

john

Screen Shot 2018-10-12 at 3.50.16 PM.png

Views

963

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

Guide , Oct 11, 2018 Oct 11, 2018

try this grep

\b\u\.

Votes

Translate

Translate
Guide ,
Oct 11, 2018 Oct 11, 2018

Copy link to clipboard

Copied

try this grep

\b\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
Explorer ,
Oct 14, 2018 Oct 14, 2018

Copy link to clipboard

Copied

Thanks Vladan! Thats great. What would you have to do if the letter was lower case before the period? eg "a. CL 123456 Xxxxxx xxx xxxxx xxxxxx xxxxx xxx $123"

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 ,
Oct 14, 2018 Oct 14, 2018

Copy link to clipboard

Copied

Check the online help: Find/Change text in InDesign

\u is the code for a single uppercase character; the code for a single lowercase letter is \l ("ell", not "Eye").

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
Explorer ,
Oct 14, 2018 Oct 14, 2018

Copy link to clipboard

Copied

LATEST

Thanks Jongware for the quick reply!!!

Cheers

john

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