Reply To: GREP to search all end of paragraph without a full stop and add it automatically

Home Page / Forums / General InDesign Topics (CLOSED) / GREP to search all end of paragraph without a full stop and add it automatically / Reply To: GREP to search all end of paragraph without a full stop and add it automatically

#14396033
Peter Kahrel
Member

Did you check whether there are any paragraphs that end in a space (or more spaces even)? If there are any they would trip up the solutions suggested above. To delete any trailing spaces, use this query:

Find: +$
Replace with: <leave empty>

And for sport here’s yet another query to find paragraphs that don’t end in a period and insert a period:

Find: (?<!\.)$
Replace with: .

This article was last modified on September 23, 2023

Comments (0)

Loading comments...