-
1. Re: Missing spaces between period and text in inDesign
vinny38 Feb 7, 2017 8:32 AM (in response to LetiÖ)\.\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.
-
2. Re: Missing spaces between period and text in inDesign
winterm Feb 7, 2017 8:42 AM (in response to vinny38)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).
-
3. Re: Missing spaces between period and text in inDesign
Sandee Cohen Feb 7, 2017 8:46 AM (in response to vinny38)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
-
4. Re: Missing spaces between period and text in inDesign
Sandee Cohen Feb 7, 2017 8:47 AM (in response to LetiÖ)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.
-
5. Re: Missing spaces between period and text in inDesign
winterm Feb 7, 2017 8:59 AM (in response to Sandee Cohen)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
-
6. Re: Missing spaces between period and text in inDesign
winterm Feb 7, 2017 9:03 AM (in response to Sandee Cohen)And for question and exclamation marks only, a bit different approach:
Find what: [\?\!]\K\w
Change to: \s$0
-
7. Re: Missing spaces between period and text in inDesign
LetiÖ Feb 7, 2017 9:07 AM (in response to vinny38)It works perfectly, thanks!
-
8. Re: Missing spaces between period and text in inDesign
LetiÖ Feb 7, 2017 9:08 AM (in response to winterm)It works too, thank you!
-
9. Re: Missing spaces between period and text in inDesign
LetiÖ Feb 7, 2017 9:11 AM (in response to Sandee Cohen)Perfect! Thank you!
-
10. Re: Missing spaces between period and text in inDesign
winterm Feb 7, 2017 9:13 AM (in response to winterm)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...
-
11. Re: Missing spaces between period and text in inDesign
Obi-wan Kenobi Feb 7, 2017 12:33 PM (in response to LetiÖ)