Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to copy as extended, eg CRLF to \r\n

    Help wanted · · · – – – · · ·
    edit copy paste
    2
    4
    73
    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.
    • Patrick O'Beirne
      Patrick O'Beirne last edited by

      I would like to copy some existing text to the clipboard in extended notation, so that I can paste it into the Find or Replace textbox ready for a search-and-replace in Extended mode.

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @Patrick O'Beirne last edited by

        @patrick-o-beirne

        You don’t need to do this.
        If you select some text containing line-endings and press Ctrl+f, when the Find what box is autopopulated, it will contain the line-ending – you won’t see it, but the characters will be there.

        Patrick O'Beirne 1 Reply Last reply Reply Quote 3
        • Patrick O'Beirne
          Patrick O'Beirne @Alan Kilborn last edited by

          @alan-kilborn Thank you yes, that’s fine for finding the text. I should have expanded further on my question by adding “ready for editing to remove or enter other extended characters such as line endings and other text, and then replace.” I want text with the extended notation which I can edit.
          Alternatively, I’d be happy with the newlines changed to regular expressions like ^ or $.

          Alan Kilborn 1 Reply Last reply Reply Quote 0
          • Alan Kilborn
            Alan Kilborn @Patrick O'Beirne last edited by

            @patrick-o-beirne said in How to copy as extended, eg CRLF to \r\n:

            I want text with the extended notation which I can edit.

            You’d need to use an external method for that, i.e., a script.

            @patrick-o-beirne said in How to copy as extended, eg CRLF to \r\n:

            I’d be happy with the newlines changed to regular expressions like ^ or $

            That isn’t the same as having line-ending characters in the Find data.

            1 Reply Last reply Reply Quote 2
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors