Community
    • Login

    Spaces between text...

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 3.8k 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.
    • Brian RibackB Offline
      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 Offline
        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

        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