Community
    • Login

    Replace a string with space

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

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

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