Community
    • Login

    Replace a string with space

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    replace
    4 Posts 4 Posters 785 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.
    • Amnon אא OneA Offline
      Amnon אא One
      last edited by

      Hi,

      I need to Replace a string with space by CTRL+H.
      How do I define a space in the “Replace with” box?

      Thanks

      EkopalypseE PeterJonesP 2 Replies Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Amnon אא One
        last edited by

        @amnon-אא-one

        The obvious answer is to press the space bar, but that’s not what you expected, is it?

        1 Reply Last reply Reply Quote 1
        • PeterJonesP Offline
          PeterJones @Amnon אא One
          last edited by

          @amnon-אא-one said in Replace a string with space:

          How do I define a space in the “Replace with” box?

          Other than the already-suggested typing of a space (which works, so why not do it?), the character code sequences work in substitution strings when the search/replace is in regular expression mode, so since space is ASCII 32 (hex 20), that can be expressed as \x20 in the search or replace boxes.

          1 Reply Last reply Reply Quote 2
          • MachineThatGoesP1NGM Offline
            MachineThatGoesP1NG
            last edited by

            Highlight and press space right ? is that not what your looking for?

            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