Search and replace newline in windows Notepad The Next CEO of Stack OverflowWindows 7 search...

Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?

Free fall ellipse or parabola?

Which acid/base does a strong base/acid react when added to a buffer solution?

Strange use of "whether ... than ..." in official text

logical reads on global temp table, but not on session-level temp table

Compensation for working overtime on Saturdays

Why doesn't Shulchan Aruch include the laws of destroying fruit trees?

Create custom note boxes

Airship steam engine room - problems and conflict

Incomplete cube

How exploitable/balanced is this homebrew spell: Spell Permanency?

Masking layers by a vector polygon layer in QGIS

Upgrading From a 9 Speed Sora Derailleur?

What did the word "leisure" mean in late 18th Century usage?

pgfplots: How to draw a tangent graph below two others?

How can the PCs determine if an item is a phylactery?

How should I connect my cat5 cable to connectors having an orange-green line?

Salesforce opportunity stages

Is a distribution that is normal, but highly skewed, considered Gaussian?

What day is it again?

Does Germany produce more waste than the US?

Why can't we say "I have been having a dog"?



Search and replace newline in windows Notepad



The Next CEO of Stack OverflowWindows 7 search of NAS devicesNotepad with instant search in filesCheck for solution (after BSOD) does nothingWindows 7 Notepad using Terminal 6 font shrinks line font with grave characterShortcut in Notepad++ to switch between search box and main window (Windows 7)Windows Explorer Advanced SearchNotepad doesn't show line breaksFiles not opening correctly with NotepadHow do I analyze a notepad crash? (Windows7)Opening a file in notepad and saving without corrupting












1















Normally I'd do a search and replace for "n" but that doesn't seem to work.



I think it might by ^(something) but can't remember what.



Note this is question is directed at Notepad, not Notepad++. Bad Bing and Google, no biscuit!










share|improve this question














bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • This site suggests either ^l or ^p but I couldn't get it to work in my tests.

    – Burgi
    Nov 26 '15 at 10:55
















1















Normally I'd do a search and replace for "n" but that doesn't seem to work.



I think it might by ^(something) but can't remember what.



Note this is question is directed at Notepad, not Notepad++. Bad Bing and Google, no biscuit!










share|improve this question














bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • This site suggests either ^l or ^p but I couldn't get it to work in my tests.

    – Burgi
    Nov 26 '15 at 10:55














1












1








1








Normally I'd do a search and replace for "n" but that doesn't seem to work.



I think it might by ^(something) but can't remember what.



Note this is question is directed at Notepad, not Notepad++. Bad Bing and Google, no biscuit!










share|improve this question














Normally I'd do a search and replace for "n" but that doesn't seem to work.



I think it might by ^(something) but can't remember what.



Note this is question is directed at Notepad, not Notepad++. Bad Bing and Google, no biscuit!







windows-7 notepad






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 26 '15 at 10:34









Mr Mystery GuestMr Mystery Guest

11329




11329





bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • This site suggests either ^l or ^p but I couldn't get it to work in my tests.

    – Burgi
    Nov 26 '15 at 10:55



















  • This site suggests either ^l or ^p but I couldn't get it to work in my tests.

    – Burgi
    Nov 26 '15 at 10:55

















This site suggests either ^l or ^p but I couldn't get it to work in my tests.

– Burgi
Nov 26 '15 at 10:55





This site suggests either ^l or ^p but I couldn't get it to work in my tests.

– Burgi
Nov 26 '15 at 10:55










2 Answers
2






active

oldest

votes


















0














There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:



type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME


This will output the file to the more command, and with the /P will expand form feed characters (i.e. change n to rn) and save it to the temp file you specify .. the move /Y just automates it a little more to overwrite the old file with the n endings with the new file with the rn endings.



Hope that helps.






share|improve this answer































    0














    Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.



    Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.



    You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.



    Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn, n, t, etc., in the Search and/or Replace text fields.






    share|improve this answer


























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1005746%2fsearch-and-replace-newline-in-windows-notepad%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:



      type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME


      This will output the file to the more command, and with the /P will expand form feed characters (i.e. change n to rn) and save it to the temp file you specify .. the move /Y just automates it a little more to overwrite the old file with the n endings with the new file with the rn endings.



      Hope that helps.






      share|improve this answer




























        0














        There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:



        type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME


        This will output the file to the more command, and with the /P will expand form feed characters (i.e. change n to rn) and save it to the temp file you specify .. the move /Y just automates it a little more to overwrite the old file with the n endings with the new file with the rn endings.



        Hope that helps.






        share|improve this answer


























          0












          0








          0







          There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:



          type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME


          This will output the file to the more command, and with the /P will expand form feed characters (i.e. change n to rn) and save it to the temp file you specify .. the move /Y just automates it a little more to overwrite the old file with the n endings with the new file with the rn endings.



          Hope that helps.






          share|improve this answer













          There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:



          type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME


          This will output the file to the more command, and with the /P will expand form feed characters (i.e. change n to rn) and save it to the temp file you specify .. the move /Y just automates it a little more to overwrite the old file with the n endings with the new file with the rn endings.



          Hope that helps.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 26 '15 at 11:20









          txtechhelptxtechhelp

          3,09211219




          3,09211219

























              0














              Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.



              Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.



              You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.



              Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn, n, t, etc., in the Search and/or Replace text fields.






              share|improve this answer






























                0














                Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.



                Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.



                You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.



                Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn, n, t, etc., in the Search and/or Replace text fields.






                share|improve this answer




























                  0












                  0








                  0







                  Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.



                  Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.



                  You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.



                  Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn, n, t, etc., in the Search and/or Replace text fields.






                  share|improve this answer















                  Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.



                  Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.



                  You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.



                  Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn, n, t, etc., in the Search and/or Replace text fields.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 26 '15 at 18:15

























                  answered Nov 26 '15 at 17:14









                  Kody BrownKody Brown

                  24914




                  24914






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1005746%2fsearch-and-replace-newline-in-windows-notepad%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                      VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                      Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...