Menu

Whats wrong with this RegEx ?

2007-05-23
2012-11-13
  • HaveFun2000

    HaveFun2000 - 2007-05-23

    I want to replace an regular expression (RegEx), with includes linebreaks.
    Whats wrong with this RegEx?
    ,\n

    See screenshot:
    http://img524.imageshack.us/img524/6915/notepaddplusplusregexhs3.jpg
    [IMG]http://img524.imageshack.us/img524/6915/notepaddplusplusregexhs3.jpg[/IMG]

     
    • pshute

      pshute - 2007-05-25

      The problem is that it isn't supported in Notepad++.  See http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php for the reason and the workarounds.  I find the advanced searched (control+r) without regex works best for me, using control+M to specify newlines.

       
      • HaveFun2000

        HaveFun2000 - 2007-05-25

        Thanks for the reply.

        Its a workaround, but it would be nice, if the RegEx works correctly in Notepad++ :)