Skip to main content
danielw42205661
Known Participant
November 30, 2022
Answered

Grep help to remove return/space/return

  • November 30, 2022
  • 1 reply
  • 761 views

For some reason I get supplied text from clients with a lot of returns but with a space before it (per screenshot below). Is there a GREP expression that can be used to get rid of these in one go?

 

This topic has been closed for replies.
Correct answer Michael Bullo

Within the Find/Change dialog box, choose Remove Trailing Whitespace from the Query dropdown menu. Did that do it?

1 reply

Michael Bullo
Community Expert
Michael BulloCommunity ExpertCorrect answer
Community Expert
November 30, 2022

Within the Find/Change dialog box, choose Remove Trailing Whitespace from the Query dropdown menu. Did that do it?

danielw42205661
Known Participant
November 30, 2022

Thanks @Michael Bullo. Didn't realise what that one did. Exactly what I needed.

Michael Bullo
Community Expert
Community Expert
November 30, 2022

Thank you and that's great to hear. I'm not even sure I've ever needed that one myself.