Community
    • Login

    remove multiple spaces between numers for : (help needed)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 441 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.
    • GOoOl ChannelG
      GOoOl Channel
      last edited by

      37802366-6368-44bd-b585-27981ce95459-image.png

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @GOoOl Channel
        last edited by

        @GOoOl-Channel ,

        For something that simple, even if you don’t know regex, you could do a few simple search-and-replace… Search for a bunch of spaces, replace with single colon, replace all. Repeat with one fewer space until all done.

        Or study npp-user-manual.org/docs/searching/, and find the simple regex \s+, replace with:, replace all.

        PeterJonesP 1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @PeterJones
          last edited by

          That’ll match newlines. Use \h+ instead. Sorry

          1 Reply Last reply Reply Quote 1
          • PeterJonesP
            PeterJones
            last edited by

            discussion moved to here

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