Community
    • Login

    Use Extended search mode to replace numbers and add a space before paragraph marks

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 1 Posters 363 Views 1 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.
    • Travis Lee Bailey Moscow American Трэвис Ли БейлиT Offline
      Travis Lee Bailey Moscow American Трэвис Ли Бейли
      last edited by

      I have text copy and pasted from a YouTube Transcript.
      I want to use Extended search mode to replace numbers and add a space before paragraph marks.

      So:

      0:56
      is over even the Deton period if you[paragraph mark]
      0:59
      like of the sort of late Cold War period [paragraph mark]

      Becomes:

      is over even the Deton period if you [space] like of the sort of late Cold War period [space]

      How can I use the Extended find and replace mode to do this?

      Thank you in advance.

      Travis Lee Bailey Moscow American Трэвис Ли БейлиT 1 Reply Last reply Reply Quote 0
      • Travis Lee Bailey Moscow American Трэвис Ли БейлиT Offline
        Travis Lee Bailey Moscow American Трэвис Ли Бейли @Travis Lee Bailey Moscow American Трэвис Ли Бейли
        last edited by Travis Lee Bailey Moscow American Трэвис Ли Бейли

        @Travis-Lee-Bailey-Moscow-American-Трэвис-Ли-Бейли

        I SOLVED IT:

        Guide:
        RegEx Cheat Sheet for Notepad++

        Using Regular expression I typed in first: [0-9][0-9]:[0-9][0-9]

        Then: [0-9]:[0-9][0-9]

        Leaving the replace, blank.

        Which replaced all of the numbers with nothing.

        I then typed in \R which deleted all of the paragraph marks

        1 Reply Last reply Reply Quote 2

        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