Spacing between number columns



  • Hi Everyone,

    In notepad++, I have columns of numbers with 5 spaces between each set of numbers (going across).
    I need to limit to 1 space between each set of numbers.
    Rather then doing it manually, is there a way of speeding up the process in Notepad++ or any other windows applications?

    Any help would be appreciated.

    This is how it looks after changing to 1 space between number sets:

    0.0000 377.60 -515.60 -15.14 -1.08 3.60 -26.20
    0.0000 377.60 -515.60 -15.14 -1.08 3.60 -26.20
    0.0333 379.85 -516.40 -15.28 -0.51 3.45 -28.41
    0.0666 382.11 -517.21 -15.43 0.07 3.31 -30.62
    0.0999 384.36 -518.01 -15.57 0.65 3.17 -32.83
    0.1332 386.52 -518.84 -15.72 1.68 2.85 -34.95



  • Cant you just find 5 spaces in a row and replace it with 1 space?



  • I agree with @dail. Unless we are fundamentally misunderstanding @Vi-Tran, pretty much any editor on every OS should be able to do this.
    Open the Find and Replace dialog (in Notepad++ and most other applications it is mapped to the Ctrl+H shortcut), type in five spaces for “Search for” and one space for “Replace with”.


Log in to reply