Skip to main content
Participating Frequently
January 18, 2023
Answered

InDesign crashes every single time I try to delete extra spaces at the end of paragraphs

  • January 18, 2023
  • 3 replies
  • 346 views

I use Find/Change to delete spaces at the end of paragraphs using <space>$ (a <space> by hitting the space bar on the keyboard followed by a $ for end of paragraph).

When I do this in the GREP (I haven't tried it in Text) as soon as I hit "Change All" InDesign crashes.

Deleting spaces at the beginning of paragraphs ( with ^<space> ) works perfectly.

This has worked in previous versions of InDesign and I've used this same GREP statement for years.

This topic has been closed for replies.
Correct answer Eugene Tyson

If a document is not behaving well then try 

File>Export 

Choose IDML

Open the IDML in InDesign
Save the file as a new InDesign file with a new name
See if the issue persists.

3 replies

Community Expert
January 18, 2023

Hi @John Snape ,

what's your version of InDesign?

What's your operating system?

 

Will that happen in all of your documents or only in a particular one?

 

Try to change your GREP pattern to:

\x{0020}+$

That should do the job as well.

Remove one or more spaces before the end of paragraph.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Participating Frequently
January 18, 2023

It still crashed. Every document I try it with crashes.

 

InDesign 18.1 x64 on Windows 10

Community Expert
January 18, 2023

Hi @John Snape ,

please attach a sample document where you see the issue.

I'd like to do some tests on it.

 

Thanks,
Uwe Laubender
( Adobe Community Expert )

Eugene TysonCommunity ExpertCorrect answer
Community Expert
January 18, 2023

If a document is not behaving well then try 

File>Export 

Choose IDML

Open the IDML in InDesign
Save the file as a new InDesign file with a new name
See if the issue persists.

Participating Frequently
January 18, 2023

I tried it on one and didn't crash. I will try it on others and get back to you.

Thank you.