Menu

Matching newline with regular expressions.

2007-02-12
2012-11-13
  • Nobody/Anonymous

    Hello,

    I'm trying to remove newline caracter in a document. But Notepad++ do not match the string when i wrote "\n" or "\r" or "[\n\r]+".
    If i want to insert newline, "\n" expression is working fine. But impossible to match it...

    Thanks for helping me.

     
    • Raúl Mateos

      Raúl Mateos - 2007-02-14

      Of course... did you notice the dot "." character at the end of the page?
      Remove it and then you'll go to http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php

      :-D

      Regards.

       
    • pshute

      pshute - 2007-02-13
       
    • Nobody/Anonymous

      that link seems broken

       
    • Nobody/Anonymous

      An error has been encountered in accessing this page.

      1. Server: notepad-plus.sourceforge.net
      2. URL path: /uk/newlineFindReplace-HOWTO.php.
      3. Error notes: File does not exist: /home/groups/n/no/notepad-plus/htdocs/uk/newlineFindReplace-HOWTO.php.
      4. Error type: 404
      5. Request method: GET
      6. Request query string:
      7. Time: 2007-02-14 02:14:36 PST (1171448076)

      Reporting this problem: The problem you have encountered is with a project web site hosted by SourceForge.net. This issue should be reported to the SourceForge.net-hosted project (not to SourceForge.net).

      If this is a severe or recurring/persistent problem, please do one of the following, and provide the error text (numbered 1 through 7, above):

       
Auth0 Logo