Community
    • Login

    Spaces between text...

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 2.1k 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.
    • Brian RibackB
      Brian Riback
      last edited by

      Hi!

      Please note that I am not a developer and so I truly envy your expertise and appreciate any guidance you may provide. I have seen a lot of templates pertaining to regular expressions and CTRL + H but nothing seems to be working for me. In the following example, I have a txt file that has all different variations of spaces. Due to character limitations in the system I need to use, I just need this to appear as one, long string, without breaks.

      Nothing I have tried works and the one tool that DID work, removed spaces between each word which is obviously not going to help me.

      I appreciate any support: NIH Sample Document

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

        @Brian-Riback ,

        Use regular expression mode. Use FIND = \s+ and REPLACE = \x20 (or a single space; both are equivalent).

        (BTW: don’t expect people to actually click on a link to a random file in a google drive or other location, since there is no guarantee what’s actually at the other end of such a link.)

        ----

        Useful References

        • Please Read Before Posting
        • Template for Search/Replace Questions
        • Formatting Forum Posts
        • Notepad++ Online User Manual: Searching/Regex
        • FAQ: Where to find other regular expressions (regex) documentation
        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors