Menu

Remove FormFeed characters

2007-05-25
2012-11-13
  • Nobody/Anonymous

    Is there a quicker way of removing FormFeed characters from a text file other than selecting the first FormFeed character then Ctrl-H

    Thanks

    - Moz

     
    • Nobody/Anonymous

      Steps:
      1)  Using your mouse, highlight a formfeed/carriage return by starting at the end of one line and highlighting to the beginning of the next line.
      2)  Control-C to copy
      3)  Control-H to open the Replace dialog box
      4)  Click in the Find What box
      5)  Control-V to paste the formfeed/carriage return
      6)  don't put anything in the Replace With textbox
      7)  Click on the Replace All button.

      That gets them all.

      Terry

       
      • pshute

        pshute - 2007-06-04

        The question was about formfeeds, not linefeeds, and also how to do it without having to copy and paste.  I don't know any way to specify a formfeed other than copying and pasting.  Normally you could use a regex expression like \x0c, but this doesn't seem to work with Notepad++, although I found a Scintilla document that says it should.