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

Missing spaces between period and text in inDesign

New Here ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

Hi,

I have a long text to work on inDesign and I noticed that sometimes the space is missing between the full stop/period and the first word of the next sentence. What should I write in the GREP tool in the entering field "Find what"?

Thank you for your answers!

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

[Moved from Comments forum to specific Program forum... Mod]

Views

3.3K

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 , Feb 07, 2017 Feb 07, 2017

\.\w

Should do the basic search.

But I'm sure GREP enthusiasts will come up with a more elegant solution.

I'm thinking about excluding emails or URL of the query, i.e.

Votes

Translate

Translate
Guide ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

\.\w

Should do the basic search.

But I'm sure GREP enthusiasts will come up with a more elegant solution.

I'm thinking about excluding emails or URL of the query, i.e.

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
Mentor ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

Assuming new sentence always starts with Capital letter:

\.\u

Well, it's not more elegant  and still can give you a certain number of false positives (depends on actual text).

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 ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

It works too, thank you!

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
Guru ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

I don't know about elegance, but you don't want to have to type in the change each time. This will work as a complete Find/Change:

Find:

\.(\w)

Replace

. $1

Note: There's a space between \. and $1

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 ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

Perfect! Thank you!

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 ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

It works perfectly, thanks!

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
Guru ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

Does this ever happen with question marks or exclamation marks? If so there should be a way to do it for those too. I just don't know it myself.

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
Mentor ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

I guess, vinny and I just wanted to leave some space for OP's creative mind

Well, this one will insert a space after any punctuation and any character (with Change to field revealed):

Find what: ([[:punct:]])(\w)

Change to: $1 $2

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
Mentor ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

And for question and exclamation marks only, a bit different approach:

Find what: [\?\!]\K\w

Change to: \s$0

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
Mentor ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

Forum is incredibly laggy today, while everything other is just fine. Am I the one? Question is already marked as 'answered', but one of my (rather early) posts is still 'being moderated'

Well...

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
LEGEND ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

LATEST

Just for comment! Not global but really less risky!

Capture d’écran 2017-02-07 à 21.29.48.png

(^/)

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