Community
    • Login

    Want to check spaces

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 4 Posters 3.7k Views 2 Watching
    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.
    • Mampi BordoloiM Offline
      Mampi Bordoloi
      last edited by

      Hello. I have a notepad file and i want to check the spaces between words. How can i? Please help,

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

        @Mampi-Bordoloi ,

        Depending on what exactly you mean by “check spaces”, I think View > Show Symbol > Show spaces and tabs will be useful.

        Mampi BordoloiM 1 Reply Last reply Reply Quote 0
        • Mampi BordoloiM Offline
          Mampi Bordoloi @PeterJones
          last edited by

          @PeterJones Thank you so much for your response. I mean to say that i want to find out the spaces(tabs) in between the words of a sentence.

          Terry RT 1 Reply Last reply Reply Quote 0
          • Terry RT Offline
            Terry R @Mampi Bordoloi
            last edited by

            @Mampi-Bordoloi said in Want to check spaces:

            I mean to say that i want to find out the spaces(tabs) in between the words of a sentence

            Unfortunately that doesn’t help anyone help you.

            Do you:

            1. want to delete spaces between words?
            2. convert multiple spaces into a single space?
            3. change the spaces into another character?
            4. something else?

            Are you using Google translate, because that might assist? Type the question in your language, use Google translate to convert to English and post it here.

            Terry

            1 Reply Last reply Reply Quote 1
            • Mark OlsonM Offline
              Mark Olson
              last edited by Mark Olson

              It sounds to me like what you want is to check if there are multiple spaces or tabs between words. For that purpose, the regular expression (?:(?![\r\n])\s){2,} should do what you want.

              Just use the Mark all form (Ctrl+M with default keybindings), check Purge after each search, set Search Mode to Regular expression, enter (?:(?![\r\n])\s){2,} into the text box and hit Mark All. Then all multi-space sequences will be colored red.

              This regular expression finds any sequence of two or more consecutive space characters other than newlines.

              Mampi BordoloiM 1 Reply Last reply Reply Quote 2
              • Mampi BordoloiM Offline
                Mampi Bordoloi @Mark Olson
                last edited by

                @Mark-Olson Exactly what i mean. Thank you so much ❤️ for your help

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors