12 Replies Latest reply on Jan 31, 2017 12:35 PM by Dan Rodney

    Remove Trailing Whitespace without removing extra lines

    Dan Rodney Adobe Community Professional

      InDesign has a buit-in GREP Find/Change Query called Remove Trailing Whitespace which is:

      \s+$

       

      It's more powerful than I want. It finds/removes spaces, tabs, etc at the end of paragraphs, but also extra linespaces. Is there a GREP search that will find/remove all the whitespace (spaces, tabs, etc) at the end of a line, but ignore extra linespaces?

       

      Thanks in advance.