Community
    • Login

    Find/Replace

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 269 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.
    • JE RamirezJ
      JE Ramirez
      last edited by

      I am trying to find a string in an XML file and replace it with a longer string.

      I can select the find string #1 and press Ctrl-F, and it will paste to the find window “A”. However, when I try to copy/paste the replacement string to #2, it doesn’t work. It will not copy the complete string.

      find_replace.jpg

      Is there a character limit?

      I’m I not using it correctly.

      Thanks for your help.
      jr7138

      CoisesC 1 Reply Last reply Reply Quote 0
      • CoisesC
        Coises @JE Ramirez
        last edited by

        @JE-Ramirez

        You can’t enter or paste a sequence of characters that includes a line ending into either box.

        As you observed, when you select the sequence first, it will appear in the Find box. You can’t see the line endings, but they are there.

        At the right of the Find and Replace boxes there is an icon with a drop-down arrow beside it. If you click the arrow, one of the choices is Copy from Find to Replace. Select that to copy the entire Find field, including the invisible line-ending characters, into the Replace field.

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