Mobile app version of vmapp.org
Login or Join
Sims5801359

: InDesign: grep to replace space with EN space after full stops between sentences The title describes the issue. I am using this query ([lu]).s([lu]) and replacing with .~> and it

@Sims5801359

Posted in: #AdobeIndesign #Grep

The title describes the issue. I am using this query ([lu]).s([lu]) and replacing with .~> and it works, BUT this also picks up paragraphs returns, probably because of the s in the first string. Any way to rewrite this first string to skip paragraph returns?

What the client wants basicly (and its a very large document), is to increase spacing between sentences. thanks

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sims5801359

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shelley591

Since CS6, InDesign has supported the Perl wildcards v and h to specifically match vertical and horizontal whitespace, respectively.

h matches all kinds of spaces and tabs, but not line and paragraph breaks, so it fits your needs perfectly: simply replace s with h and it should work as intended.

InDesignSecrets has a brief article on these two wildcards as well, which I suggest you have a look at.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme