Tapatalk

How to remove sequences of spaces within lines?

How to remove sequences of spaces within lines?

4
NewbieNewbie
4

    Jul 12, 2016#1

    Hello!

    I use Column mode a lot with XML files and then use the Convert to fixed Column and Convert to character delimited so I can easily select part of the text inside the XML code and change it. Very useful.

    At the end however I'm left with text with sequences of spaces inside the lines (to fit the columns). How do I remove these or change them to 'nothing'?

    The Format command Trim Trailing Spaces only removes the ones at the end of a line and will not work in my case.

    Thanks very much for your feedback !

    Greets,
    XenonS

    6,685587
    Grand MasterGrand Master
    6,685587

      Jul 13, 2016#2

      Run a Replace All from top of file with any regular expression engine enabled searching for two spaces and a plus sign, i.e. "  +" without the double quotes, and nothing as replace string two remove sequences of two or more spaces, but keep all single space characters.
      Best regards from an UC/UE/UES for Windows user from Austria