Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Grep help to remove return/space/return

Participant ,
Nov 29, 2022 Nov 29, 2022

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?

danielw42205661_0-1669772290069.png

 

TOPICS
How to
663
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 29, 2022 Nov 29, 2022

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

export.jpg

Translate
Community Expert ,
Nov 29, 2022 Nov 29, 2022

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

export.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 29, 2022 Nov 29, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2022 Nov 29, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 08, 2024 Oct 08, 2024

Thank you @Michael Bullo - I have been searching for different GREP solutions for over 45 minutes to solve this issue and your response took care of my issue in two seconds. So, so thankful I found this!  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 08, 2024 Oct 08, 2024
LATEST

Thank you for the kind comment. I’m happy to hear this helped.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines