Community
    • Login

    Spacing between number columns

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 3.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Vi TranV
      Vi Tran
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • dailD
        dail
        last edited by

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

        1 Reply Last reply Reply Quote 1
        • Jan SchreiberJ
          Jan Schreiber
          last edited by

          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”.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors